pub enum Event {
Initialize,
Candidate(Act),
Certificate(Certificate),
Sign(String),
Effect(String),
Fence(Vote),
Release(String),
Version(DagVersion),
AdoptVersion(String),
OwnedProposal(OwnedSealRequest),
SealOwned(OwnedSealRequest),
}Expand description
Typed persistence format. Deserializing an Event confers no trust: recovery replays all semantic checks, proof signatures and decision guards.
Variants§
Initialize
Candidate(Act)
Certificate(Certificate)
Sign(String)
Effect(String)
Fence(Vote)
Release(String)
Version(DagVersion)
AdoptVersion(String)
OwnedProposal(OwnedSealRequest)
SealOwned(OwnedSealRequest)
Trait Implementations§
impl Eq for Event
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl Forget for Event
impl Freeze for Eventwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
*const LeafNode<String, SetValZST> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, SetValZST)>>: Freeze,
*const LeafNode<String, SExpr> is !null: Freeze,
PhantomData<Box<(String, SExpr)>>: Freeze,
PhantomData<SExpr>: Freeze,
*const Message is !null: Freeze,
PhantomData<Message>: Freeze,
PhantomData<Vote>: Freeze,
impl Move for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnsafeUnpin for Eventwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const LeafNode<String, SetValZST> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, SetValZST)>>: UnsafeUnpin,
*const LeafNode<String, SExpr> is !null: UnsafeUnpin,
PhantomData<Box<(String, SExpr)>>: UnsafeUnpin,
PhantomData<SExpr>: UnsafeUnpin,
*const Message is !null: UnsafeUnpin,
PhantomData<Message>: UnsafeUnpin,
PhantomData<Vote>: UnsafeUnpin,
impl UnwindSafe for Eventwhere
RawVecInner: UnwindSafe,
BTreeMap<String, SetValZST>: UnwindSafe,
BTreeMap<String, SExpr>: UnwindSafe,
BoxRaw<Message>: UnwindSafe,
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