Struct futures_intrusive::NoopLock
source · pub struct NoopLock { /* private fields */ }
Expand description
An unsafe (non-thread-safe) lock, equivalent to UnsafeCell
Trait Implementations
sourceimpl RawMutex for NoopLock
impl RawMutex for NoopLock
type GuardMarker = GuardSend
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 moreAuto Trait Implementations
impl RefUnwindSafe for NoopLock
impl !Send for NoopLock
impl !Sync for NoopLock
impl Unpin for NoopLock
impl UnwindSafe for NoopLock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more