Enum bip_dht::DhtEvent
[−]
[src]
pub enum DhtEvent { BootstrapCompleted, LookupCompleted(InfoHash), ShuttingDown(ShutdownCause), }
Event that occured within the DHT which clients may be interested in.
Variants
BootstrapCompleted
DHT completed the bootstrap.
LookupCompleted(InfoHash)
Lookup operation for the given InfoHash completed.
ShuttingDown(ShutdownCause)
DHT is shutting down for some reason.
Trait Implementations
impl Copy for DhtEvent
[src]
impl Clone for DhtEvent
[src]
fn clone(&self) -> DhtEvent
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