pub enum SlotState {
Unforced,
Deferred,
Forcing,
Ok,
Invalid,
Absent,
}Expand description
the state of a slot
Variants§
Unforced
not forced yet
Deferred
the computation reached $referrers before the universe was complete: not attempted again
until phase 2 (a demand meanwhile defers at once)
Forcing
being forced
Ok
forced, with a value
Invalid
an error invalidated it
Absent
absent
Trait Implementations§
impl Copy for SlotState
impl StructuralPartialEq for SlotState
Auto Trait Implementations§
impl Forget for SlotState
impl Freeze for SlotState
impl Move for SlotState
impl RefUnwindSafe for SlotState
impl Send for SlotState
impl Sync for SlotState
impl Unpin for SlotState
impl UnsafeUnpin for SlotState
impl UnwindSafe for SlotState
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