pub struct PartialConfig<C> { /* private fields */ }Expand description
A configuration builder that holds onto Connect object
Implementations§
Source§impl<C> PartialConfig<C>
impl<C> PartialConfig<C>
Sourcepub fn connect_to<A>(
self,
address_stream: A,
) -> PoolConfig<C, A, DefaultMux, DefaultQueue, WarnLogger, NoopMetrics>
pub fn connect_to<A>( self, address_stream: A, ) -> PoolConfig<C, A, DefaultMux, DefaultQueue, WarnLogger, NoopMetrics>
Create a configuration by adding an address stream
Trait Implementations§
Auto Trait Implementations§
impl<C> Freeze for PartialConfig<C>where
C: Freeze,
impl<C> RefUnwindSafe for PartialConfig<C>where
C: RefUnwindSafe,
impl<C> Send for PartialConfig<C>where
C: Send,
impl<C> Sync for PartialConfig<C>where
C: Sync,
impl<C> Unpin for PartialConfig<C>where
C: Unpin,
impl<C> UnwindSafe for PartialConfig<C>where
C: 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