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: WakerAuto Trait Implementations§
impl<'a, Handle = i32> !Freeze for PollingHandle<'a, Handle>
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> UnsafeUnpin for PollingHandle<'a, Handle>where
Handle: UnsafeUnpin,
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