[][src]Struct stakker_mio::MioSource

pub struct MioSource<S: Source> { /* fields omitted */ }

Wrapper for a mio Source instance

This is returned by the MioPoll::add method. It takes care of both unregistering the token and dropping the Source instance when it is dropped. It derefs to the contained Source instance, so operations on the contained instance can be used directly.

Trait Implementations

impl<S: Source> Deref for MioSource<S>[src]

type Target = S

The resulting type after dereferencing.

impl<S: Source> DerefMut for MioSource<S>[src]

impl<S: Source> Drop for MioSource<S>[src]

Auto Trait Implementations

impl<S> !RefUnwindSafe for MioSource<S>

impl<S> !Send for MioSource<S>

impl<S> !Sync for MioSource<S>

impl<S> Unpin for MioSource<S> where
    S: Unpin

impl<S> !UnwindSafe for MioSource<S>

Blanket Implementations

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

impl<T> Any for T where
    T: Any

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

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

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

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

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.