[−][src]Enum hbbft::queueing_honey_badger::ChangeState
A change status: whether a change to the network is currently in progress or completed.
Variants
None
No change is currently being considered.
InProgress(Change<N>)
A change is currently in progress. If it is a node addition, all broadcast messages must be sent to the new node, too.
Complete(Change<N>)
A change has been completed in this epoch. From the next epoch on, the new composition of the network will perform the consensus process.
Trait Implementations
impl<N: Eq + Ord> Eq for ChangeState<N>
[src]
impl<N: PartialEq + Ord> PartialEq<ChangeState<N>> for ChangeState<N>
[src]
fn eq(&self, other: &ChangeState<N>) -> bool
[src]
fn ne(&self, other: &ChangeState<N>) -> bool
[src]
impl<N: Clone + Ord> Clone for ChangeState<N>
[src]
fn clone(&self) -> ChangeState<N>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<N: Debug + Ord> Debug for ChangeState<N>
[src]
impl<N: Hash + Ord> Hash for ChangeState<N>
[src]
fn hash<__HN: Hasher>(&self, state: &mut __HN)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl<'de, N: Ord> Deserialize<'de> for ChangeState<N> where
N: Deserialize<'de>,
[src]
N: Deserialize<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<N: Ord> Serialize for ChangeState<N> where
N: Serialize,
[src]
N: Serialize,
Auto Trait Implementations
impl<N> Send for ChangeState<N> where
N: Send,
N: Send,
impl<N> Sync for ChangeState<N> where
N: Sync,
N: Sync,
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,