pub struct SerializedSessionSnapshot {
pub session_snapshot: Arc<Vec<u8>>,
}Expand description
Describes a serialized session snapshot for boundary and snapshot-only commits.
Fields§
§session_snapshot: Arc<Vec<u8>>Immutable serialized session snapshot (opaque to RuntimeStore).
The shared owner is part of the WholeBlob cost contract: a prepared boundary must carry the one materialized document through the atomic store verb without allocating and copying a second full buffer.
Trait Implementations§
Source§impl Clone for SerializedSessionSnapshot
impl Clone for SerializedSessionSnapshot
Source§fn clone(&self) -> SerializedSessionSnapshot
fn clone(&self) -> SerializedSessionSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SerializedSessionSnapshot
impl RefUnwindSafe for SerializedSessionSnapshot
impl Send for SerializedSessionSnapshot
impl Sync for SerializedSessionSnapshot
impl Unpin for SerializedSessionSnapshot
impl UnsafeUnpin for SerializedSessionSnapshot
impl UnwindSafe for SerializedSessionSnapshot
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