pub struct Client(_);
Expand description

Client wrapping r2d2 memcached connection pool

Implementations

Initialize Client with given connection pool

Returns information about the current state of the pool.

Get pool connection

Get clone of ConnectionManager pool

Get the server version

Get a key from memcached server.

Get keys from memcached server.

Set a key with associate value into memcached server with expiration seconds.

Add means “store this data, but only if the server doesn’t already hold data for this key”.

“replace” means “store this data, but only if the server does already hold data for this key”.

Delete a key with associate value into memcached server

Delete a key with associate value into memcached server

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.