[][src]Struct abi_stable::external_types::parking_lot::rw_lock::RWriteGuard

#[repr(transparent)]
#[must_use]
pub struct RWriteGuard<'a, T> { /* fields omitted */ }

A write guard,which allows mutable access to the data inside the rwlock.

There can be only of these for the same RRwLock at any given time.

When dropped this will unlock the rwlock.

Trait Implementations

impl<'a, T> GetStaticEquivalent_ for RWriteGuard<'a, T> where
    T: __StableAbi,
    T: 'a, 
[src]

type StaticEquivalent = _static_RWriteGuard<'static, __GetStaticEquivalent<T>>

impl<'a, T> SharedStableAbi for RWriteGuard<'a, T> where
    T: __StableAbi,
    T: 'a, 
[src]

type IsNonZeroType = <&'a RRwLock<T> as __SharedStableAbi>::IsNonZeroType

Whether this type has a single invalid bit-pattern. Read more

type Kind = __ValueKind

The kind of abi stability of this type,there are 2: Read more

impl<'a, T> Drop for RWriteGuard<'a, T>[src]

impl<'a, T> Display for RWriteGuard<'a, T> where
    T: Display
[src]

impl<'a, T> Debug for RWriteGuard<'a, T> where
    T: Debug
[src]

impl<'a, T> Deref for RWriteGuard<'a, T>[src]

type Target = T

The resulting type after dereferencing.

impl<'a, T> DerefMut for RWriteGuard<'a, T>[src]

Auto Trait Implementations

impl<'a, T> !Send for RWriteGuard<'a, T>

impl<'a, T> !Sync for RWriteGuard<'a, T>

impl<'a, T> Unpin for RWriteGuard<'a, T>

impl<'a, T> !UnwindSafe for RWriteGuard<'a, T>

impl<'a, T> !RefUnwindSafe for RWriteGuard<'a, T>

Blanket Implementations

impl<This> StableAbi for This where
    This: SharedStableAbi<Kind = ValueKind>, 
[src]

impl<This> TransmuteElement for This where
    This: ?Sized
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> TypeIdentity for T where
    T: ?Sized
[src]

type Type = T

The same type as Self. Read more

impl<T> SelfOps for T where
    T: ?Sized
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The error type returned when the conversion fails.