pub struct UniversalBuilder<T> { /* private fields */ }
Implementations§
Source§impl<T> UniversalBuilder<T>
impl<T> UniversalBuilder<T>
pub fn new(addrs: Vec<T>) -> UniversalBuilder<T>
pub fn cluster(self, flag: bool) -> UniversalBuilder<T>
pub fn build(self) -> RedisResult<UniversalClient>where
T: IntoConnectionInfo + Clone,
Auto Trait Implementations§
impl<T> Freeze for UniversalBuilder<T>
impl<T> RefUnwindSafe for UniversalBuilder<T>where
T: RefUnwindSafe,
impl<T> Send for UniversalBuilder<T>where
T: Send,
impl<T> Sync for UniversalBuilder<T>where
T: Sync,
impl<T> Unpin for UniversalBuilder<T>where
T: Unpin,
impl<T> UnwindSafe for UniversalBuilder<T>where
T: UnwindSafe,
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