Struct mio::sys::unix::selector::stateless_io_source::IoSourceState
source · 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 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