pub enum Proof<M: Machine> {
Known(Vec<u8>),
WithState(Arc<dyn StateDependentProof<M>>),
}
Expand description
Proof generated on epoch change.
Variants
Known(Vec<u8>)
Known proof (extracted from signal)
WithState(Arc<dyn StateDependentProof<M>>)
State dependent proof.
Auto Trait Implementations
impl<M> !RefUnwindSafe for Proof<M>
impl<M> Send for Proof<M>
impl<M> Sync for Proof<M>
impl<M> Unpin for Proof<M>
impl<M> !UnwindSafe for Proof<M>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more