pub struct RuntimeMemory<M: Memory> { /* private fields */ }Expand description
RuntimeMemory
Exclusive non-cloneable allocation lease. IO trusts custody between checked boundaries; growth commits the directory before publishing its new extent. A detached lease retains the backing claim until it is dropped.
Implementations§
Trait Implementations§
Source§impl<M: Memory> Memory for RuntimeMemory<M>
impl<M: Memory> Memory for RuntimeMemory<M>
Auto Trait Implementations§
impl<M> !RefUnwindSafe for RuntimeMemory<M>
impl<M> !Send for RuntimeMemory<M>
impl<M> !Sync for RuntimeMemory<M>
impl<M> !UnwindSafe for RuntimeMemory<M>
impl<M> Freeze for RuntimeMemory<M>where
Lease<M>: Freeze,
impl<M> Unpin for RuntimeMemory<M>where
Lease<M>: Unpin,
impl<M> UnsafeUnpin for RuntimeMemory<M>where
Lease<M>: UnsafeUnpin,
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