Struct crust::PeerId [] [src]

pub struct PeerId(pub PublicKey);

An identifier of a peer node.

Trait Implementations

impl PartialEq for PeerId
[src]

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

This method tests for !=.

impl Eq for PeerId
[src]

impl Clone for PeerId
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for PeerId
[src]

impl Ord for PeerId
[src]

This method returns an Ordering between self and other. Read more

impl PartialOrd for PeerId
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Hash for PeerId
[src]

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

Feeds a slice of this type into the state provided.

impl Encodable for PeerId
[src]

Serialize a value using an Encoder.

impl Decodable for PeerId
[src]

Deserialize a value using a Decoder.

impl Debug for PeerId
[src]

Formats the value using the given formatter.

impl Display for PeerId
[src]

Formats the value using the given formatter.

impl Rand for PeerId
[src]

Generates a random instance of this type using the specified source of randomness. Read more