[][src]Struct mio::IoEvent

pub struct IoEvent {
    pub kind: EventSet,
    pub token: Token,
}

Fields

kind: EventSettoken: Token

Methods

impl IoEvent[src]

IoEvent represents the raw event that the OS-specific selector returned. An event can represent more than one kind (such as readable or writable) at a time.

These IoEvent objects are created by the OS-specific concrete Selector when they have events to report.

pub fn new(kind: EventSet, token: Token) -> IoEvent[src]

Create a new IoEvent.

Trait Implementations

impl Clone for IoEvent[src]

impl Copy for IoEvent[src]

impl Eq for IoEvent[src]

impl PartialEq<IoEvent> for IoEvent[src]

impl Debug for IoEvent[src]

impl StructuralPartialEq for IoEvent[src]

impl StructuralEq for IoEvent[src]

Auto Trait Implementations

impl Send for IoEvent

impl Sync for IoEvent

impl Unpin for IoEvent

impl UnwindSafe for IoEvent

impl RefUnwindSafe for IoEvent

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]