Enum bip_dht::ShutdownCause
[−]
[src]
pub enum ShutdownCause { BootstrapFailed, ClientInitiated, Unspecified, }
Event that occured within the DHT which caused it to shutdown.
Variants
BootstrapFailed
DHT failed to bootstrap more than once.
ClientInitiated
Client controlling the DHT intentionally shut it down.
Unspecified
Cause of shutdown is not specified.
Trait Implementations
impl Copy for ShutdownCause
[src]
impl Clone for ShutdownCause
[src]
fn clone(&self) -> ShutdownCause
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more