pub enum Forgotten {
Reclaimed,
Marked(Option<Waker>),
Unknown,
}Expand description
What Table::forget did, and the waker it hands back to be woken.
On Reclaimed the runtime wakes every
Interest::Slot waiter it holds and frees whatever it stored for the slot.
Variants§
Reclaimed
The call was settled: the slot is free now, and its reservation is credited to the budget.
Marked(Option<Waker>)
The call is in flight: it is marked, its outcome will not be recorded,
and the slot is reclaimed at its settlement, which Table::settle
reports as Settled::Reclaimed. The call’s Interest::Outcome
waker, if any, is handed back, because no outcome will ever be readable
for it.
Unknown
No call this table holds has this correlation, or it was already forgotten. Nothing changed.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Forgotten
impl RefUnwindSafe for Forgotten
impl Send for Forgotten
impl Sync for Forgotten
impl Unpin for Forgotten
impl UnsafeUnpin for Forgotten
impl UnwindSafe for Forgotten
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