Struct contiguous_mem::refs::MemoryWriteGuard
source · pub struct MemoryWriteGuard<'a, T: ?Sized, Impl: ImplDetails> { /* private fields */ }Expand description
A smart reference wrapper responsible for tracking and managing a flag that indicates whether the memory segment is actively being written to.
Trait Implementations§
source§impl<'a, T: ?Sized, Impl: ImplDetails> Deref for MemoryWriteGuard<'a, T, Impl>
impl<'a, T: ?Sized, Impl: ImplDetails> Deref for MemoryWriteGuard<'a, T, Impl>
source§impl<'a, T: ?Sized, Impl: ImplDetails> DerefMut for MemoryWriteGuard<'a, T, Impl>
impl<'a, T: ?Sized, Impl: ImplDetails> DerefMut for MemoryWriteGuard<'a, T, Impl>
source§impl<'a, T: ?Sized, Impl: ImplDetails> Drop for MemoryWriteGuard<'a, T, Impl>
impl<'a, T: ?Sized, Impl: ImplDetails> Drop for MemoryWriteGuard<'a, T, Impl>
Auto Trait Implementations§
impl<'a, T: ?Sized, Impl> RefUnwindSafe for MemoryWriteGuard<'a, T, Impl>where T: RefUnwindSafe, <Impl as ReferenceDetails>::RefState<T>: RefUnwindSafe, <Impl as ReferenceDetails>::WriteGuard<'a>: RefUnwindSafe,
impl<'a, T: ?Sized, Impl> Send for MemoryWriteGuard<'a, T, Impl>where T: Send, <Impl as ReferenceDetails>::RefState<T>: Send, <Impl as ReferenceDetails>::WriteGuard<'a>: Send,
impl<'a, T: ?Sized, Impl> Sync for MemoryWriteGuard<'a, T, Impl>where T: Sync, <Impl as ReferenceDetails>::RefState<T>: Sync, <Impl as ReferenceDetails>::WriteGuard<'a>: Sync,
impl<'a, T: ?Sized, Impl> Unpin for MemoryWriteGuard<'a, T, Impl>where <Impl as ReferenceDetails>::RefState<T>: Unpin, <Impl as ReferenceDetails>::WriteGuard<'a>: Unpin,
impl<'a, T, Impl> !UnwindSafe for MemoryWriteGuard<'a, T, Impl>
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