[][src]Struct sync_2::UniqueGuard

pub struct UniqueGuard<'a, T> { /* fields omitted */ }

Unique guard created by the methods RwLock::write and RwLock::try_write.

Leaking this struct would cause deadlock with any further call to RwLock::write or RwLock::read.

Trait Implementations

impl<'a, T: BufRead> BufRead for UniqueGuard<'a, T>[src]

impl<T: Debug, '_> Debug for UniqueGuard<'_, T>[src]

impl<'a, T> Deref for UniqueGuard<'a, T>[src]

type Target = T

The resulting type after dereferencing.

impl<'a, T> DerefMut for UniqueGuard<'a, T>[src]

impl<T: Display, '_> Display for UniqueGuard<'_, T>[src]

impl<'a, T> Drop for UniqueGuard<'a, T>[src]

impl<'a, T: Read> Read for UniqueGuard<'a, T>[src]

impl<'a, T: Seek> Seek for UniqueGuard<'a, T>[src]

impl<T, '_> !Send for UniqueGuard<'_, T>[src]

impl<T: Sync, '_> Sync for UniqueGuard<'_, T>[src]

impl<'a, T: Write> Write for UniqueGuard<'a, T>[src]

Auto Trait Implementations

impl<'a, T> !RefUnwindSafe for UniqueGuard<'a, T>

impl<'a, T> Unpin for UniqueGuard<'a, T>

impl<'a, T> !UnwindSafe for UniqueGuard<'a, 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.