Struct mfio::backend::PollingHandle
source · pub struct PollingHandle<'a, Handle = DefaultHandle> {
pub handle: Handle,
pub cur_flags: &'a PollingFlags,
pub max_flags: PollingFlags,
pub waker: Waker,
}
Expand description
Cooperative polling handle.
This handle contains a handle and necessary metadata needed to cooperatively drive mfio code to completion.
This handle is typically created on the IoBackend
side.
Fields§
§handle: Handle
§cur_flags: &'a PollingFlags
§max_flags: PollingFlags
§waker: Waker
Auto Trait Implementations§
impl<'a, Handle> RefUnwindSafe for PollingHandle<'a, Handle>where
Handle: RefUnwindSafe,
impl<'a, Handle> Send for PollingHandle<'a, Handle>where
Handle: Send,
impl<'a, Handle> Sync for PollingHandle<'a, Handle>where
Handle: Sync,
impl<'a, Handle> Unpin for PollingHandle<'a, Handle>where
Handle: Unpin,
impl<'a, Handle> UnwindSafe for PollingHandle<'a, Handle>where
Handle: UnwindSafe,
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