Struct bip_utracker::ClientResponses [] [src]

pub struct ClientResponses {
    // some fields omitted
}

Responses received by a specific TrackerClient.

Methods

impl ClientResponses
[src]

fn recv(&self) -> Option<(ClientToken, ClientResult<ClientResponse>)>

Blocks until a value is received or the TrackerClient shuts down.

fn iter(&self) -> ClientResponsesIter

Iterator over the responses produced by the TrackerClient.

Trait Implementations

impl Debug for ClientResponses
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Hash for ClientResponses
[src]

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

Feeds this value into the state given, updating the hasher as necessary.

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0

Feeds a slice of this type into the state provided.

impl Eq for ClientResponses
[src]

impl PartialEq for ClientResponses
[src]

fn eq(&self, __arg_0: &ClientResponses) -> bool

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

fn ne(&self, __arg_0: &ClientResponses) -> bool

This method tests for !=.

impl Clone for ClientResponses
[src]

fn clone(&self) -> ClientResponses

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl IntoIterator for ClientResponses
[src]

type Item = (ClientToken, ClientResult<ClientResponse>)

The type of the elements being iterated over.

type IntoIter = ClientResponsesIter

Which kind of iterator are we turning this into?

fn into_iter(self) -> ClientResponsesIter

Creates an iterator from a value. Read more

impl<'a> IntoIterator for &'a ClientResponses
[src]

type Item = (ClientToken, ClientResult<ClientResponse>)

The type of the elements being iterated over.

type IntoIter = ClientResponsesIter

Which kind of iterator are we turning this into?

fn into_iter(self) -> ClientResponsesIter

Creates an iterator from a value. Read more