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
Source§impl Default for MemorySaveContext
impl Default for MemorySaveContext
Source§fn default() -> MemorySaveContext
fn default() -> MemorySaveContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze 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