[−][src]Struct node_replication::rwlock::WriteGuard
A write-guard that can be used to write to the underlying data structure. All reads will be blocked until this is dropped.
Trait Implementations
impl<T: ?Sized + Default + Sync, '_> Deref for WriteGuard<'_, T>[src]
This Deref trait allows a thread to use T from a WriteGuard.
This allows us to dereference an immutable reference.
impl<T: ?Sized + Default + Sync, '_> DerefMut for WriteGuard<'_, T>[src]
This DerefMut trait allow a thread to use T from a WriteGuard.
This allows us to dereference a mutable reference.
impl<T: ?Sized + Default + Sync, '_> Drop for WriteGuard<'_, T>[src]
This Drop trait implements the unlock logic for a writer lock. Once the WriteGuard
goes out of scope, the corresponding write lock is marked as released.
Auto Trait Implementations
impl<'a, T> !RefUnwindSafe for WriteGuard<'a, T>
impl<'a, T> Send for WriteGuard<'a, T>
impl<'a, T> Sync for WriteGuard<'a, T>
impl<'a, T> Unpin for WriteGuard<'a, T>
impl<'a, T> !UnwindSafe for WriteGuard<'a, 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, 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>,