Struct mio::Ready [] [src]

pub struct Ready(_);

A set of readiness events returned by Poll.

Methods

impl Ready
[src]

fn none() -> Ready

fn readable() -> Ready

fn writable() -> Ready

fn error() -> Ready

fn hup() -> Ready

fn all() -> Ready

fn is_none(&self) -> bool

fn is_readable(&self) -> bool

fn is_writable(&self) -> bool

fn is_error(&self) -> bool

fn is_hup(&self) -> bool

fn insert(&mut self, other: Ready)

fn remove(&mut self, other: Ready)

fn bits(&self) -> usize

fn contains(&self, other: Ready) -> bool

Trait Implementations

impl Ord for Ready
[src]

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

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

impl PartialOrd for Ready
[src]

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

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

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

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

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

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

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

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

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

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

impl Clone for Ready
[src]

fn clone(&self) -> Ready

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Eq for Ready
[src]

impl PartialEq for Ready
[src]

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

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

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

This method tests for !=.

impl Copy for Ready
[src]

impl BitOr for Ready
[src]

type Output = Ready

The resulting type after applying the | operator

fn bitor(self, other: Ready) -> Ready

The method for the | operator

impl BitXor for Ready
[src]

type Output = Ready

The resulting type after applying the ^ operator

fn bitxor(self, other: Ready) -> Ready

The method for the ^ operator

impl BitAnd for Ready
[src]

type Output = Ready

The resulting type after applying the & operator

fn bitand(self, other: Ready) -> Ready

The method for the & operator

impl Sub for Ready
[src]

type Output = Ready

The resulting type after applying the - operator

fn sub(self, other: Ready) -> Ready

The method for the - operator

impl Not for Ready
[src]

type Output = Ready

The resulting type after applying the ! operator

fn not(self) -> Ready

The method for the unary ! operator

impl Debug for Ready
[src]

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

Formats the value using the given formatter.