Enum bip_select::IDiscoveryMessage
[−]
[src]
pub enum IDiscoveryMessage { Control(ControlMessage), DownloadMetainfo(InfoHash), ReceivedUtMetadataMessage(PeerInfo, UtMetadataMessage), }
Enumeration of discovery messages that can be sent to a discovery module.
Variants
Control(ControlMessage)
Control message.
DownloadMetainfo(InfoHash)
Find peers and download the metainfo for the InfoHash
.
ReceivedUtMetadataMessage(PeerInfo, UtMetadataMessage)
Received a UtMetadata message.
Trait Implementations
impl Clone for IDiscoveryMessage
[src]
fn clone(&self) -> IDiscoveryMessage
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for IDiscoveryMessage
[src]
impl PartialEq for IDiscoveryMessage
[src]
fn eq(&self, __arg_0: &IDiscoveryMessage) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &IDiscoveryMessage) -> bool
[src]
This method tests for !=
.