pub struct WarnLoggerInstance<C, S>(/* private fields */);Expand description
An instance of default error logger
Trait Implementations§
Source§impl<C, S> Clone for WarnLoggerInstance<C, S>
impl<C, S> Clone for WarnLoggerInstance<C, S>
Source§impl<C, S> ErrorLog for WarnLoggerInstance<C, S>
impl<C, S> ErrorLog for WarnLoggerInstance<C, S>
Source§fn pool_shutting_down(&self, reason: ShutdownReason)
fn pool_shutting_down(&self, reason: ShutdownReason)
Starting to shut down pool
Source§fn pool_closed(&self)
fn pool_closed(&self)
This is triggered when pool done all the work and shut down entirely
Source§type ConnectionError = C
type ConnectionError = C
Connection error type that is returned by connect/hanshake function
Source§fn connection_error(&self, addr: SocketAddr, e: Self::ConnectionError)
fn connection_error(&self, addr: SocketAddr, e: Self::ConnectionError)
Error when establishing a new connection
Source§fn sink_error(&self, addr: SocketAddr, e: Self::SinkError)
fn sink_error(&self, addr: SocketAddr, e: Self::SinkError)
Error when sending a request Read more
Auto Trait Implementations§
impl<C, S> Freeze for WarnLoggerInstance<C, S>
impl<C, S> RefUnwindSafe for WarnLoggerInstance<C, S>where
C: RefUnwindSafe,
S: RefUnwindSafe,
impl<C, S> !Send for WarnLoggerInstance<C, S>
impl<C, S> !Sync for WarnLoggerInstance<C, S>
impl<C, S> Unpin for WarnLoggerInstance<C, S>
impl<C, S> UnwindSafe for WarnLoggerInstance<C, S>where
C: RefUnwindSafe,
S: RefUnwindSafe,
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