Struct bip_utracker::contact::CompactPeersV4 [] [src]

pub struct CompactPeersV4<'a> { /* fields omitted */ }

Container for IPv4 peers to be sent/received from a tracker.

Methods

impl<'a> CompactPeersV4<'a>
[src]

Create a new CompactPeersV4.

Construct a CompactPeersV4 from the given bytes.

Write the CompactPeersV4 to the given writer.

Add the given peer to the list of peers.

Iterator over all of the contact information.

Create an owned version of CompactPeersV4.

Trait Implementations

impl<'a> Clone for CompactPeersV4<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Debug for CompactPeersV4<'a>
[src]

Formats the value using the given formatter.

impl<'a> PartialEq for CompactPeersV4<'a>
[src]

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

This method tests for !=.

impl<'a> Eq for CompactPeersV4<'a>
[src]