Struct parking_lot_core::parking_lot::FairTimeout
source · struct FairTimeout {
timeout: Instant,
seed: u32,
}
Fields§
§timeout: Instant
§seed: u32
Implementations§
source§impl FairTimeout
impl FairTimeout
fn new(timeout: TimeoutInstant, seed: u32) -> FairTimeout
fn should_timeout(&mut self) -> bool
fn gen_u32(&mut self) -> u32
Auto Trait Implementations§
impl Freeze for FairTimeout
impl RefUnwindSafe for FairTimeout
impl Send for FairTimeout
impl Sync for FairTimeout
impl Unpin for FairTimeout
impl UnwindSafe for FairTimeout
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