Struct spin::RwLockWriteGuard[][src]

pub struct RwLockWriteGuard<'a, T: 'a + ?Sized> { /* fields omitted */ }

A guard to which the protected data can be written

When the guard falls out of scope it will release the lock.

Trait Implementations

impl<'rwlock, T: ?Sized> Deref for RwLockWriteGuard<'rwlock, T>

The resulting type after dereferencing.

Dereferences the value.

impl<'rwlock, T: ?Sized> DerefMut for RwLockWriteGuard<'rwlock, T>

Mutably dereferences the value.

impl<'rwlock, T: ?Sized> Drop for RwLockWriteGuard<'rwlock, T>

Executes the destructor for this type. Read more

Auto Trait Implementations

impl<'a, T: ?Sized> Send for RwLockWriteGuard<'a, T> where
    T: Send

impl<'a, T: ?Sized> Sync for RwLockWriteGuard<'a, T> where
    T: Sync