Struct mio::sys::unix::stateless_io_source::IoSourceState
source · pub(crate) struct IoSourceState;
Implementations§
source§impl IoSourceState
impl IoSourceState
pub fn new() -> IoSourceState
pub fn do_io<T, F, R>(&self, f: F, io: &T) -> Result<R>where F: FnOnce(&T) -> Result<R>,
pub fn register( &mut self, registry: &Registry, token: Token, interests: Interest, fd: RawFd ) -> Result<()>
pub fn reregister( &mut self, registry: &Registry, token: Token, interests: Interest, fd: RawFd ) -> Result<()>
pub fn deregister(&mut self, registry: &Registry, fd: RawFd) -> Result<()>
Auto Trait Implementations§
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