Enum bip_select::ODiscoveryMessage [] [src]

pub enum ODiscoveryMessage {
    SendDhtAnnounce(InfoHash),
    SendUdpTrackerAnnounce(InfoHash, SocketAddrClientState),
    SendUtMetadataMessage(PeerInfoUtMetadataMessage),
    DownloadedMetainfo(Metainfo),
}

Enumeration of discovery messages that can be received from a discovery module.

Variants

Send a dht announce for the InfoHash.

Send a udp tracker announce for the InfoHash.

Send a UtMetadata message.

We have finished downloading the given Metainfo.

Trait Implementations

impl Clone for ODiscoveryMessage
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ODiscoveryMessage
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for ODiscoveryMessage
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for ODiscoveryMessage
[src]