pub enum Dispatch<'d> {
Ready {
drain: Drain,
retained: Option<Event<'d>>,
},
Fault(Failure),
}Expand description
Direct source dispatch retaining at most one materialized event while all remaining completions stay in the backend’s compact queue.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'d> !RefUnwindSafe for Dispatch<'d>
impl<'d> !Send for Dispatch<'d>
impl<'d> !Sync for Dispatch<'d>
impl<'d> !UnwindSafe for Dispatch<'d>
impl<'d> Freeze for Dispatch<'d>
impl<'d> Unpin for Dispatch<'d>
impl<'d> UnsafeUnpin for Dispatch<'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