Struct tk_pool::error_log::WarnLoggerInstance
[−]
[src]
pub struct WarnLoggerInstance<C, S>(_);
An instance of default error logger
Trait Implementations
impl<C, S> Clone for WarnLoggerInstance<C, S>[src]
fn clone(&self) -> Self[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl<C, S> ErrorLog for WarnLoggerInstance<C, S> where
C: Display,
S: Display, [src]
C: Display,
S: Display,
type ConnectionError = C
Connection error type that is returned by connect/hanshake function
type SinkError = S
Error when sending request returned by Sink
fn connection_error(&self, addr: SocketAddr, e: Self::ConnectionError)[src]
Error when establishing a new connection
fn sink_error(&self, addr: SocketAddr, e: Self::SinkError)[src]
Error when sending a request Read more
fn pool_shutting_down(&self, reason: ShutdownReason)[src]
Starting to shut down pool
fn pool_closed(&self)[src]
This is triggered when pool done all the work and shut down entirely