Struct gauc::client::Client [] [src]

pub struct Client {
    pub opts: Option<Arc<Mutex<CreateSt>>>,
    pub instance: Option<Arc<Mutex<Instance>>>,
    pub uri: Option<String>,
}

Fields

Methods

impl Client
[src]

Constructor

Will cause the operation to fail if the key already exists in the cluster.

Rather than setting the contents of the entire document, take the value specified in value and append it to the existing bytes in the value.

Get document from database

Like append, but prepends the new value to the existing value.

Remove document from database

Will cause the operation to fail unless the key already exists in the cluster.

Unconditionally store the item in the cluster

Store document in database

Behaviorally it is identical to set in that it will make the server unconditionally store the item, whether it exists or not.

Store document in database

Trait Implementations

impl Debug for Client
[src]

Formats the value using the given formatter.

impl Clone for Client
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Drop for Client
[src]

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