enum WaitState {
Initial,
Waiting {
local_gen: u64,
},
Reacquiring {
local_gen: u64,
},
}Variants§
Initial
We are getting the original values of the state.
Waiting
We are waiting for the listener to complete.
Reacquiring
Waiting to re-acquire the lock to check the state again.
Auto Trait Implementations§
impl Freeze for WaitState
impl RefUnwindSafe for WaitState
impl Send for WaitState
impl Sync for WaitState
impl Unpin for WaitState
impl UnwindSafe for WaitState
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