Struct mio::Token [] [src]

pub struct Token(pub usize);

Methods

impl Token

fn as_usize(self) -> usize

Trait Implementations

impl Index for Token

fn from_usize(i: usize) -> Token

fn as_usize(&self) -> usize

Derived Implementations

impl Hash for Token

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

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

impl Ord for Token

fn cmp(&self, __arg_0: &Token) -> Ordering

impl PartialOrd for Token

fn partial_cmp(&self, __arg_0: &Token) -> Option<Ordering>

fn lt(&self, __arg_0: &Token) -> bool

fn le(&self, __arg_0: &Token) -> bool

fn gt(&self, __arg_0: &Token) -> bool

fn ge(&self, __arg_0: &Token) -> bool

impl Eq for Token

impl PartialEq for Token

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

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

impl Debug for Token

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

impl Clone for Token

fn clone(&self) -> Token

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

impl Copy for Token