[−]Struct async_control::MutexGuard
A guard allowing exclusive access to a Mutex
's protected value and unlocking it when
dropped.
License
Copyright (c) 2020
All Rights Reserved to Matthieu Le brazidec
Unauthorized copying of this file, via any medium is strictly prohibited
Proprietary and confidential
Trait Implementations
impl<'mutex, T: Debug + ?Sized> Debug for MutexGuard<'mutex, T>
impl<'mutex, T: ?Sized> Deref for MutexGuard<'mutex, T>
impl<'mutex, T: ?Sized> DerefMut for MutexGuard<'mutex, T>
impl<'mutex, T: Display + ?Sized> Display for MutexGuard<'mutex, T>
impl<'mutex, T: ?Sized> Drop for MutexGuard<'mutex, T>
fn drop(&mut self)
impl<'mutex, T: Send + ?Sized> Send for MutexGuard<'mutex, T>
impl<'mutex, T: Sync + ?Sized> Sync for MutexGuard<'mutex, T>
Auto Trait Implementations
impl<'mutex, T> !RefUnwindSafe for MutexGuard<'mutex, T>
impl<'mutex, T: ?Sized> Unpin for MutexGuard<'mutex, T>
impl<'mutex, T> !UnwindSafe for MutexGuard<'mutex, T>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,