pub enum SlotState {
Unforced,
Forcing,
Ok,
Invalid,
Absent,
}Expand description
the state of a slot
Variants§
Unforced
not forced yet
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 Freeze 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