pub enum State<Key> {
Gone,
Waiting,
Granted(Key),
Stale,
}Expand description
The exact registration phase observed by a removal attempt.
Variants§
Trait Implementations§
impl<Key: Copy> Copy for State<Key>
impl<Key: Eq> Eq for State<Key>
impl<Key: PartialEq> StructuralPartialEq for State<Key>
Auto Trait Implementations§
impl<Key> Freeze for State<Key>where
Key: Freeze,
impl<Key> RefUnwindSafe for State<Key>where
Key: RefUnwindSafe,
impl<Key> Send for State<Key>where
Key: Send,
impl<Key> Sync for State<Key>where
Key: Sync,
impl<Key> Unpin for State<Key>where
Key: Unpin,
impl<Key> UnsafeUnpin for State<Key>where
Key: UnsafeUnpin,
impl<Key> UnwindSafe for State<Key>where
Key: UnwindSafe,
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