Struct tokio_core::reactor::CoreId [] [src]

pub struct CoreId(_);

An unique ID for a Core

An ID by which different cores may be distinguished. Can be compared and used as an index in a HashMap.

The ID is globally unique and never reused.

Trait Implementations

impl Clone for CoreId

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for CoreId

impl Eq for CoreId

impl PartialEq for CoreId

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

This method tests for !=.

impl Hash for CoreId

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

Feeds a slice of this type into the state provided.

impl Debug for CoreId

Formats the value using the given formatter.