[−][src]Struct spinny::RawRwSpinlock
Raw spinlock rwlock, wrapped in the lock_api RwLock struct.
Trait Implementations
impl RawRwLock for RawRwSpinlock
[src]
const INIT: RawRwSpinlock
[src]
type GuardMarker = GuardSend
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_shared(&self)
[src]
fn try_lock_shared(&self) -> bool
[src]
fn try_lock_exclusive(&self) -> bool
[src]
fn lock_exclusive(&self)
[src]
unsafe fn unlock_shared(&self)
[src]
unsafe fn unlock_exclusive(&self)
[src]
fn is_locked(&self) -> bool
[src]
impl RawRwLockDowngrade for RawRwSpinlock
[src]
impl RawRwLockUpgrade for RawRwSpinlock
[src]
fn lock_upgradable(&self)
[src]
fn try_lock_upgradable(&self) -> bool
[src]
unsafe fn try_upgrade(&self) -> bool
[src]
unsafe fn upgrade(&self)
[src]
unsafe fn unlock_upgradable(&self)
[src]
Auto Trait Implementations
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>,