Struct bip_utracker::announce::AnnounceResponse [] [src]

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

Announce response sent from the server to the client.

Methods

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

[src]

Create a new AnnounceResponse

[src]

Construct an IPv4 AnnounceResponse from the given bytes.

[src]

Construct an IPv6 AnnounceResponse from the given bytes.

[src]

Write the AnnounceResponse to the given writer.

[src]

Interval in seconds that clients should wait before re-announcing.

[src]

Number of leechers the tracker knows about for the torrent.

[src]

Number of seeders the tracker knows about for the torrent.

[src]

Peers the tracker knows about that are sharing the torrent.

[src]

Create an owned version of AnnounceResponse.

Trait Implementations

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for AnnounceResponse<'a>
[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<'a> Eq for AnnounceResponse<'a>
[src]