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

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> GetStaticEquivalent_ for RReadGuard<'a, T> where
    T: __StableAbi,
    T: 'a, 
[src]

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

impl<'a, T> SharedStableAbi for RReadGuard<'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 RReadGuard<'a, T>[src]

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

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.

Auto Trait Implementations

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>

impl<'a, T> !RefUnwindSafe for RReadGuard<'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.