pub struct IoEvent<T>where
T: MainloopInnerType,{ /* private fields */ }Expand description
An IO event source
Implementations
sourceimpl<T> IoEvent<T>where
T: MainloopInnerType,
impl<T> IoEvent<T>where
T: MainloopInnerType,
sourcepub fn enable(&mut self, events: IoEventFlagSet)
pub fn enable(&mut self, events: IoEventFlagSet)
Enable or disable IO events on this object.
Trait Implementations
Auto Trait Implementations
impl<T> !RefUnwindSafe for IoEvent<T>
impl<T> !Send for IoEvent<T>
impl<T> !Sync for IoEvent<T>
impl<T> Unpin for IoEvent<T>
impl<T> !UnwindSafe for IoEvent<T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more