pub struct SharedWriteGuard<'a, T: ?Sized>(/* private fields */);
Expand description
RAII structure used to release the exclusive write access of a lock when dropped.
Implementations§
Sourcepub fn from_inner(guard: RwLockWriteGuard<'a, T>) -> Self
pub fn from_inner(guard: RwLockWriteGuard<'a, T>) -> Self
Create a SharedWriteGuard
from its internal representation,
RwLockWriteGuard<'a, T>
.
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more