Enum bip_select::IDiscoveryMessage [] [src]

pub enum IDiscoveryMessage {
    Control(ControlMessage),
    DownloadMetainfo(InfoHash),
    ReceivedUtMetadataMessage(PeerInfoUtMetadataMessage),
}

Enumeration of discovery messages that can be sent to a discovery module.

Variants

Control message.

Find peers and download the metainfo for the InfoHash.

Received a UtMetadata message.

Trait Implementations

impl Clone for IDiscoveryMessage
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for IDiscoveryMessage
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for IDiscoveryMessage
[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 IDiscoveryMessage
[src]