Enum AwaitStart
pub enum AwaitStart {
Replay,
Waiting {
attempt: u32,
},
Run {
attempt: u32,
not_before_ms: u64,
},
}Expand description
What the host must do after the code starts an async completion.
Variants§
Replay
The result is recorded; wait for its delivery.
Waiting
The token for attempt was already handed out; wait.
Run
Run the function that hands the token out, as for a step.
Trait Implementations§
§impl Clone for AwaitStart
impl Clone for AwaitStart
§impl Debug for AwaitStart
impl Debug for AwaitStart
impl Eq for AwaitStart
§impl PartialEq for AwaitStart
impl PartialEq for AwaitStart
impl StructuralPartialEq for AwaitStart
Auto Trait Implementations§
impl Forget for AwaitStart
impl Freeze for AwaitStart
impl Move for AwaitStart
impl RefUnwindSafe for AwaitStart
impl Send for AwaitStart
impl Sync for AwaitStart
impl Unpin for AwaitStart
impl UnsafeUnpin for AwaitStart
impl UnwindSafe for AwaitStart
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