Enum tk_pool::error_log::ShutdownReason
[−]
[src]
pub enum ShutdownReason { RequestStreamClosed, AddressStreamClosed, // some variants omitted }
A reason connection pool being shut down
This value is passed to ErrorLog::pool_shutting_down
method.
Variants
RequestStreamClosed
Request stream is shutting down
This usually means that all clones of queue::Pool
object are
destroyed
AddressStreamClosed
Address stream is closed
Shutting down address stream is commonly used to force shut down
connection pool, even if there are users. Users will get an error
on the next start_send
.
Trait Implementations
impl Debug for ShutdownReason
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more