pub struct RedisConnectionOption { /* private fields */ }Trait Implementations§
Source§impl Clone for RedisConnectionOption
impl Clone for RedisConnectionOption
Source§fn clone(&self) -> RedisConnectionOption
fn clone(&self) -> RedisConnectionOption
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ConnectOptions for RedisConnectionOption
impl ConnectOptions for RedisConnectionOption
type Connection = RedisConnection
Source§fn connect(&self) -> BoxFuture<'_, Result<Self::Connection, Error>>where
Self::Connection: Sized,
fn connect(&self) -> BoxFuture<'_, Result<Self::Connection, Error>>where
Self::Connection: Sized,
Establish a new database connection with the options specified by
self.Source§impl Debug for RedisConnectionOption
impl Debug for RedisConnectionOption
Auto Trait Implementations§
impl Freeze for RedisConnectionOption
impl RefUnwindSafe for RedisConnectionOption
impl Send for RedisConnectionOption
impl Sync for RedisConnectionOption
impl Unpin for RedisConnectionOption
impl UnwindSafe for RedisConnectionOption
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more