Struct parking_lot::RawMutex [−][src]
Raw mutex type backed by the parking lot.
Trait Implementations
impl RawMutex for RawMutex[src]
const INIT: RawMutex[src]
type GuardMarker = GuardNoSend
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]
unsafe fn unlock(&self)[src]
fn is_locked(&self) -> bool[src]
impl RawMutexFair for RawMutex[src]
unsafe fn unlock_fair(&self)[src]
unsafe fn bump(&self)[src]
impl RawMutexTimed for RawMutex[src]
Auto Trait Implementations
impl RefUnwindSafe for RawMutex
impl Send for RawMutex
impl Sync for RawMutex
impl Unpin for RawMutex
impl UnwindSafe for RawMutex
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,
pub 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.
pub 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>,