Enum bip_utracker::announce::DesiredPeers [] [src]

pub enum DesiredPeers {
    Default,
    Specified(i32),
}

Client desired number of peers to send in the response.

Variants

Send the default number of peers.

Send a specific number of peers.

Methods

impl DesiredPeers
[src]

[src]

Construct the DesiredPeers from the given bytes.

[src]

Write the DesiredPeers to the given writer.

Trait Implementations

impl Debug for DesiredPeers
[src]

[src]

Formats the value using the given formatter.

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

impl Copy for DesiredPeers
[src]

impl Clone for DesiredPeers
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more