pub struct MioSource<S: Source> { /* private fields */ }
Expand description
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.
The resulting type after dereferencing.
Dereferences the value.
Mutably dereferences the value.
Executes the destructor for this type.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.