pub struct MemoryAccount { /* private fields */ }Expand description
Caller-owned accounting state, constructed without allocating memory.
The caller supplies its shared ownership separately, during trusted setup. This keeps account creation out of document-driven allocation paths.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for MemoryAccount
impl RefUnwindSafe for MemoryAccount
impl Send for MemoryAccount
impl Sync for MemoryAccount
impl Unpin for MemoryAccount
impl UnsafeUnpin for MemoryAccount
impl UnwindSafe for MemoryAccount
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