Struct bip_utracker::scrape::ScrapeRequest [] [src]

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

Scrape request sent from the client to the server.

Methods

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

Create a new ScrapeRequest.

Construct a ScrapeRequest from the given bytes.

Write the ScrapeRequest to the given writer.

Ordering of the written InfoHash is identical to that of ScrapeRequest::iter().

Add the InfoHash to the current request.

Iterator over all of the hashes in the request.

Create an owned version of ScrapeRequest.

Trait Implementations

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter.

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