pub(crate) struct IoSourceState;Implementations§
Source§impl IoSourceState
impl IoSourceState
pub(crate) fn new() -> IoSourceState
pub(crate) fn do_io<T, F, R>(&self, f: F, io: &T) -> Result<R>
pub(crate) fn register( &mut self, registry: &Registry, token: Token, interests: Interest, fd: RawFd, ) -> Result<()>
pub(crate) fn reregister( &mut self, registry: &Registry, token: Token, interests: Interest, fd: RawFd, ) -> Result<()>
pub(crate) fn deregister( &mut self, registry: &Registry, fd: RawFd, ) -> Result<()>
Auto Trait Implementations§
impl Freeze for IoSourceState
impl RefUnwindSafe for IoSourceState
impl Send for IoSourceState
impl Sync for IoSourceState
impl Unpin for IoSourceState
impl UnsafeUnpin for IoSourceState
impl UnwindSafe for IoSourceState
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