Struct redis_universal_client::UniversalBuilder
source · [−]pub struct UniversalBuilder<T> { /* private fields */ }Implementations
sourceimpl<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> 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more