pub struct ProcessedSnapshot {
pub state: HashState,
pub mutations: Vec<Mutation>,
pub mutation_macs: Vec<AppStateMutationMAC>,
}Expand description
Result of processing a snapshot.
Fields§
§state: HashStateThe updated hash state after processing.
mutations: Vec<Mutation>The decoded mutations from the snapshot.
mutation_macs: Vec<AppStateMutationMAC>The mutation MACs to store (for later patch processing).
Trait Implementations§
Source§impl Clone for ProcessedSnapshot
impl Clone for ProcessedSnapshot
Source§fn clone(&self) -> ProcessedSnapshot
fn clone(&self) -> ProcessedSnapshot
Returns a duplicate of the value. Read more
1.0.0 · 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 ProcessedSnapshot
impl RefUnwindSafe for ProcessedSnapshot
impl Send for ProcessedSnapshot
impl Sync for ProcessedSnapshot
impl Unpin for ProcessedSnapshot
impl UnsafeUnpin for ProcessedSnapshot
impl UnwindSafe for ProcessedSnapshot
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