pub struct MemorySaveContext { /* private fields */ }Expand description
A save-side SaveContext that keeps every side-car artifact and the committed
manifest value in memory.
SaveContext::finish consumes the context and returns an MemoryContext ready
to be loaded with the load entry point.
§Cleanup on failure
Failures in the same process are automatically cleaned up.
Implementations§
Trait Implementations§
Source§impl Debug for MemorySaveContext
impl Debug for MemorySaveContext
Auto Trait Implementations§
impl !Freeze for MemorySaveContext
impl Forget for MemorySaveContext
impl Move for MemorySaveContext
impl RefUnwindSafe for MemorySaveContext
impl Send for MemorySaveContext
impl Sync for MemorySaveContext
impl Unpin for MemorySaveContext
impl UnsafeUnpin for MemorySaveContext
impl UnwindSafe for MemorySaveContext
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