pub struct Event<'d>(/* private fields */);Expand description
A completion emitted by the driver.
Event::into_kind consumes its exact payload and operation authority.
Safe code cannot mint completion authority.
Implementations§
Trait Implementations§
Source§impl<'d> From<Completion<'d>> for Event<'d>
impl<'d> From<Completion<'d>> for Event<'d>
Source§fn from(done: Completion<'d>) -> Self
fn from(done: Completion<'d>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'d> !RefUnwindSafe for Event<'d>
impl<'d> !Send for Event<'d>
impl<'d> !Sync for Event<'d>
impl<'d> !UnwindSafe for Event<'d>
impl<'d> Freeze for Event<'d>
impl<'d> Unpin for Event<'d>
impl<'d> UnsafeUnpin for Event<'d>
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