pub struct CeremonySnapshot {
pub version: StreamVersion,
pub instance: CeremonyInstance,
}Expand description
A ceremony’s state as folded from its stream up to version.
A snapshot is a cache of the fold, never the truth: loading a ceremony is the latest snapshot plus the events after its version, and dropping every snapshot changes nothing but speed.
Fields§
§version: StreamVersion§instance: CeremonyInstanceTrait Implementations§
Source§impl Clone for CeremonySnapshot
impl Clone for CeremonySnapshot
Source§impl Debug for CeremonySnapshot
impl Debug for CeremonySnapshot
impl Eq for CeremonySnapshot
Source§impl PartialEq for CeremonySnapshot
impl PartialEq for CeremonySnapshot
impl StructuralPartialEq for CeremonySnapshot
Auto Trait Implementations§
impl Freeze for CeremonySnapshot
impl RefUnwindSafe for CeremonySnapshot
impl Send for CeremonySnapshot
impl Sync for CeremonySnapshot
impl Unpin for CeremonySnapshot
impl UnsafeUnpin for CeremonySnapshot
impl UnwindSafe for CeremonySnapshot
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