Struct ruspiro_lock::sync::WriteLockGuard[][src]

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

Result of trying to access the data using try_lock or lock on the data lock. If the result goes out of scope the write lock is released.

Trait Implementations

implement debug trait to forward to the type wrapped within the guard

Formats the value using the given formatter. Read more

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.