[][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 RRwLock.

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> 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]

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

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

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

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

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

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

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

Auto Trait Implementations

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

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

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

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

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

Blanket Implementations

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

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

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

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

impl<T> GetWithMetadata for T[src]

type ForSelf = WithMetadata_<T, T>

This is always WithMetadata_<Self, Self>

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

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

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

impl<This> TransmuteElement for This where
    This: ?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, 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.

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

type Type = T

The same type as Self. Read more