Struct ShardedLockReadGuard

pub struct ShardedLockReadGuard<'a, T: ?Sized> { /* private fields */ }

A guard used to release the shared read access of a ShardedLock when dropped.

Trait Implementations

impl<T: ?Sized + Display> Display for ShardedLockReadGuard<'_, T>

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<T: ?Sized + Sync> Sync for ShardedLockReadGuard<'_, T>

impl<T: ?Sized> Deref for ShardedLockReadGuard<'_, T>

type Target = T;
fn deref(&self) -> &T

impl<T: Debug> Debug for ShardedLockReadGuard<'_, T>

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Auto Trait Implementations

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

impl<'a, T> Freeze for ShardedLockReadGuard<'a, T> where &'a ShardedLock<T>: Freeze, PhantomData<RwLockReadGuard<'a, T>>: Freeze, T: ?Sized,

impl<'a, T> RefUnwindSafe for ShardedLockReadGuard<'a, T> where &'a ShardedLock<T>: RefUnwindSafe, PhantomData<RwLockReadGuard<'a, T>>: RefUnwindSafe, T: ?Sized,

impl<'a, T> Unpin for ShardedLockReadGuard<'a, T> where &'a ShardedLock<T>: Unpin, PhantomData<RwLockReadGuard<'a, T>>: Unpin, T: ?Sized,

impl<'a, T> UnsafeUnpin for ShardedLockReadGuard<'a, T> where &'a ShardedLock<T>: UnsafeUnpin, PhantomData<RwLockReadGuard<'a, T>>: UnsafeUnpin, T: ?Sized,

impl<'a, T> UnwindSafe for ShardedLockReadGuard<'a, T> where &'a ShardedLock<T>: UnwindSafe, PhantomData<RwLockReadGuard<'a, T>>: UnwindSafe, T: ?Sized,

Blanket Implementations

impl<P, T> Receiver for ShardedLockReadGuard<'a, T> where P: Deref<Target = T> + ?Sized, T: ?Sized,

impl<T> Any for ShardedLockReadGuard<'a, T> where T: 'static + ?Sized,

impl<T> Borrow<T> for ShardedLockReadGuard<'a, T> where T: ?Sized,

impl<T> BorrowMut<T> for ShardedLockReadGuard<'a, T> where T: ?Sized,

impl<T> From<T> for ShardedLockReadGuard<'a, T>

impl<T> ToString for ShardedLockReadGuard<'a, T> where T: Display + ?Sized,

impl<T, U> Into<U> for ShardedLockReadGuard<'a, T> where U: From<T>,

impl<T, U> TryFrom<U> for ShardedLockReadGuard<'a, T> where U: Into<T>,

impl<T, U> TryInto<U> for ShardedLockReadGuard<'a, T> where U: TryFrom<T>,