Struct rsmc_core::client::ClientConfig [−][src]
pub struct ClientConfig<C: Connection, P: Compressor> { /* fields omitted */ }
Expand description
Set configuration values for a memcached client.
Implementations
Create a new client config from the given memcached servers and
compressor. If no compression is desired, then use
ClientConfig::new_uncompressed
Create a new client config with no compression.
Trait Implementations
Auto Trait Implementations
impl<C, P> RefUnwindSafe for ClientConfig<C, P> where
C: RefUnwindSafe,
P: RefUnwindSafe,
impl<C, P> Send for ClientConfig<C, P>
impl<C, P> Sync for ClientConfig<C, P>
impl<C, P> Unpin for ClientConfig<C, P> where
C: Unpin,
P: Unpin,
impl<C, P> UnwindSafe for ClientConfig<C, P> where
C: UnwindSafe,
P: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more