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

pub struct Client {
    pub opts: CreateSt,
    pub instance: Instance,
    pub uri: String,
}

Fields

Methods

impl Client
[src]

[src]

[src]

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

[src]

[src]

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.

[src]

[src]

Get document from database

[src]

[src]

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

[src]

[src]

Remove document from database

[src]

[src]

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

[src]

[src]

Unconditionally store the item in the cluster

[src]

[src]

Store document in database

[src]

[src]

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

[src]

[src]

Store document in database

[src]

Trait Implementations

impl Debug for Client
[src]

[src]

Formats the value using the given formatter.

impl Clone for Client
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Drop for Client
[src]

[src]

Executes the destructor for this type. Read more