enum SlotKind {
Empty,
Booting,
Ready,
Fatal,
}Expand description
Copyable classification of the worker slot, so a caller can inspect state and THEN take a &mut
borrow without an overlapping-borrow error (R2 seat-D).
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SlotKind
impl RefUnwindSafe for SlotKind
impl Send for SlotKind
impl Sync for SlotKind
impl Unpin for SlotKind
impl UnsafeUnpin for SlotKind
impl UnwindSafe for SlotKind
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