pub struct Snapshot {
pub seq: u64,
pub state: Value,
}Expand description
The records a log is made of, defined in beck_host::record because a browser tab holds a log
too and an envelope has to mean the same thing in both (docs/17
§17.2). What is here is the engine: the substrates, and the contract above.
A snapshot of the durable fold: the accumulator plus the position it was taken at.
Fields§
§seq: u64§state: ValueTrait Implementations§
Auto Trait Implementations§
impl Freeze for Snapshot
impl RefUnwindSafe for Snapshot
impl Send for Snapshot
impl Sync for Snapshot
impl Unpin for Snapshot
impl UnwindSafe for Snapshot
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