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

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

A read guard,which allows shared access to the data inside the RRwLock.

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

When dropped this will unlock the rwlock.

Trait Implementations

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

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

type Target = T

The resulting type after dereferencing.

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

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

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

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

impl<'a, T> StableAbi for RReadGuard<'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 RReadGuard<'a, T>

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

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

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

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

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