Enum ethcore::engines::SealingState
source · [−]pub enum SealingState {
Ready,
NotReady,
External,
}
Expand description
The type of sealing the engine is currently able to perform.
Variants
Ready
The engine is ready to seal a block.
NotReady
The engine can’t seal at the moment, and no block should be prepared and queued.
External
The engine does not seal internally.
Trait Implementations
sourceimpl Debug for SealingState
impl Debug for SealingState
sourceimpl PartialEq<SealingState> for SealingState
impl PartialEq<SealingState> for SealingState
impl Eq for SealingState
impl StructuralEq for SealingState
impl StructuralPartialEq for SealingState
Auto Trait Implementations
impl RefUnwindSafe for SealingState
impl Send for SealingState
impl Sync for SealingState
impl Unpin for SealingState
impl UnwindSafe for SealingState
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
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcepub fn equivalent(&self, key: &K) -> bool
pub fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.