pub struct IoSource<'l, I>where
I: AsRawFd,{ /* private fields */ }
Expand description
A source that can be used to react to IO events.
This source can be obtained by calling add_io
on a loop, registering a callback to it.
Trait Implementations§
Auto Trait Implementations§
impl<'l, I> !RefUnwindSafe for IoSource<'l, I>
impl<'l, I> !Send for IoSource<'l, I>
impl<'l, I> !Sync for IoSource<'l, I>
impl<'l, I> Unpin for IoSource<'l, I>
impl<'l, I> !UnwindSafe for IoSource<'l, I>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more