Struct rlite::Rlite [] [src]

pub struct Rlite { /* fields omitted */ }

A database connection


impl Rlite

Create a new database in memory

Opens or creates a database in path.

Executes the command. It returns either success or error, with no detail. If it succeeded, use read_reply to get the response (if any).

Reads the response of the first unread command. Each command response is appended to a queue. This command pops from that queue.

Trait Implementations

impl Drop for Rlite

A method called when the value goes out of scope. Read more