[−][src]Enum hbbft::queueing_honey_badger::Change
A node change action: adding or removing a node.
Variants
NodeChange(BTreeMap<N, PublicKey>)
Change the set of validators to the one in the provided map. There are no restrictions on the new set of validators. In particular, it can be disjoint with the current set of validators.
EncryptionSchedule(EncryptionSchedule)
Change the threshold encryption schedule. Increase frequency to prevent censorship or decrease frequency for increased throughput.
Trait Implementations
impl<N: Eq + Ord> Eq for Change<N>
[src]
impl<N: PartialEq + Ord> PartialEq<Change<N>> for Change<N>
[src]
impl<N: Clone + Ord> Clone for Change<N>
[src]
fn clone(&self) -> Change<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 Change<N>
[src]
impl<N: Hash + Ord> Hash for Change<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 Change<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 Change<N> where
N: Serialize,
[src]
N: Serialize,
Auto Trait Implementations
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>,