[]Struct async_control::MutexGuard

pub struct MutexGuard<'mutex, T: ?Sized> { /* fields omitted */ }

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>

type Target = T

The resulting type after dereferencing.

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>

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<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.