Enum bip_dht::ShutdownCause [] [src]

pub enum ShutdownCause {
    BootstrapFailed,
    ClientInitiated,
    Unspecified,
}

Event that occured within the DHT which caused it to shutdown.

Variants

DHT failed to bootstrap more than once.

Client controlling the DHT intentionally shut it down.

Cause of shutdown is not specified.

Trait Implementations

impl Copy for ShutdownCause
[src]

impl Clone for ShutdownCause
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ShutdownCause
[src]

Formats the value using the given formatter.