Struct routing::PublicId [] [src]

pub struct PublicId { /* fields omitted */ }

Network identity component containing name and public keys.

Methods

impl PublicId
[src]

Return initial/relocated name.

Name field is initially same as original_name, this should be replaced by relocated name calculated by the nodes close to original_name by using this method

Return public signing key.

Return public signing key.

Returns whether our name is the hash of our public sign key.

Trait Implementations

impl Hash for PublicId
[src]

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

Feeds a slice of this type into the state provided.

impl PartialEq for PublicId
[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 PublicId
[src]

impl PartialOrd for PublicId
[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 Ord for PublicId
[src]

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

impl Copy for PublicId
[src]

impl Clone for PublicId
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PublicId
[src]

Formats the value using the given formatter.