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

DHT completed the bootstrap.

Lookup operation for the given InfoHash completed.

DHT is shutting down for some reason.

Trait Implementations

impl Copy for DhtEvent
[src]

impl Clone for DhtEvent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for DhtEvent
[src]

Formats the value using the given formatter.