Struct lair_keystore::dependencies::hc_seed_bundle::dependencies::futures::lock::OwnedMutexGuard
source · pub struct OwnedMutexGuard<T>where
T: ?Sized,{ /* private fields */ }
Expand description
An RAII guard returned by the lock_owned
and try_lock_owned
methods.
When this structure is dropped (falls out of scope), the lock will be
unlocked.
Trait Implementations§
source§impl<T> Debug for OwnedMutexGuard<T>
impl<T> Debug for OwnedMutexGuard<T>
source§impl<T> Deref for OwnedMutexGuard<T>where
T: ?Sized,
impl<T> Deref for OwnedMutexGuard<T>where
T: ?Sized,
source§impl<T> DerefMut for OwnedMutexGuard<T>where
T: ?Sized,
impl<T> DerefMut for OwnedMutexGuard<T>where
T: ?Sized,
source§impl<T> Drop for OwnedMutexGuard<T>where
T: ?Sized,
impl<T> Drop for OwnedMutexGuard<T>where
T: ?Sized,
impl<T> Send for OwnedMutexGuard<T>
impl<T> Sync for OwnedMutexGuard<T>
Auto Trait Implementations§
impl<T> Freeze for OwnedMutexGuard<T>where
T: ?Sized,
impl<T> !RefUnwindSafe for OwnedMutexGuard<T>
impl<T> Unpin for OwnedMutexGuard<T>where
T: ?Sized,
impl<T> !UnwindSafe for OwnedMutexGuard<T>
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<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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