Struct rotor::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 Copy for Token

impl Clone for Token

fn clone(&self) -> Token

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

impl Debug for Token

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

impl PartialEq<Token> for Token

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

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

impl Eq for Token

impl PartialOrd<Token> 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 Ord for Token

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

impl Hash for Token

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