pub struct ShardedLockReadGuard<'a, T>where
T: ?Sized,{ /* private fields */ }Expand description
A guard used to release the shared read access of a ShardedLock when dropped.
Trait Implementations§
Source§impl<T> Debug for ShardedLockReadGuard<'_, T>where
T: Debug,
impl<T> Debug for ShardedLockReadGuard<'_, T>where
T: Debug,
Source§impl<T> Deref for ShardedLockReadGuard<'_, T>where
T: ?Sized,
impl<T> Deref for ShardedLockReadGuard<'_, T>where
T: ?Sized,
Source§impl<T> Display for ShardedLockReadGuard<'_, T>
impl<T> Display for ShardedLockReadGuard<'_, T>
impl<T> Sync for ShardedLockReadGuard<'_, T>
Auto Trait Implementations§
impl<'a, T> Freeze for ShardedLockReadGuard<'a, T>where
T: ?Sized,
impl<'a, T> RefUnwindSafe for ShardedLockReadGuard<'a, T>where
T: RefUnwindSafe + ?Sized,
impl<'a, T> !Send for ShardedLockReadGuard<'a, T>
impl<'a, T> Unpin for ShardedLockReadGuard<'a, T>where
T: ?Sized,
impl<'a, T> UnwindSafe for ShardedLockReadGuard<'a, T>where
T: RefUnwindSafe + ?Sized,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more