Enum ethcore::engines::EpochChange
source · [−]pub enum EpochChange<M: Machine> {
Unsure(AuxiliaryRequest),
No,
Yes(Proof<M>),
}
Expand description
Results of a query of whether an epoch change occurred at the given block.
Variants
Unsure(AuxiliaryRequest)
Cannot determine until more data is passed.
No
No epoch change.
Yes(Proof<M>)
The epoch will change, with proof.
Auto Trait Implementations
impl<M> !RefUnwindSafe for EpochChange<M>
impl<M> Send for EpochChange<M>
impl<M> Sync for EpochChange<M>
impl<M> Unpin for EpochChange<M>
impl<M> !UnwindSafe for EpochChange<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