[−][src]Struct parking_lot::RawFairMutex
Raw fair mutex type backed by the parking lot.
Trait Implementations
impl RawMutex for RawFairMutex[src]
const INIT: Self[src]
type GuardMarker = <RawMutex as RawMutex>::GuardMarker
Marker type which determines whether a lock guard should be Send. Use one of the GuardSend or GuardNoSend helper types here. Read more
fn lock(&self)[src]
fn try_lock(&self) -> bool[src]
fn unlock(&self)[src]
impl RawMutexFair for RawFairMutex[src]
fn unlock_fair(&self)[src]
fn bump(&self)[src]
impl RawMutexTimed for RawFairMutex[src]
type Duration = <RawMutex as RawMutexTimed>::Duration
Duration type used for try_lock_for.
type Instant = <RawMutex as RawMutexTimed>::Instant
Instant type used for try_lock_until.
fn try_lock_until(&self, timeout: Self::Instant) -> bool[src]
fn try_lock_for(&self, timeout: Self::Duration) -> bool[src]
Auto Trait Implementations
impl RefUnwindSafe for RawFairMutex
impl Send for RawFairMutex
impl Sync for RawFairMutex
impl Unpin for RawFairMutex
impl UnwindSafe for RawFairMutex
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,