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

Request stream is shutting down

This usually means that all clones of queue::Pool object are destroyed

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]

[src]

Formats the value using the given formatter. Read more

impl Display for ShutdownReason
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations