#[repr(u8)]pub enum CommitteeKind {
Invalid = 0,
ComputeExecutor = 1,
}
Expand description
The functionality a committee exists to provide.
Variants§
Invalid = 0
An invalid committee (should never appear on the wire).
ComputeExecutor = 1
A compute executor committee.
Trait Implementations§
source§impl Clone for CommitteeKind
impl Clone for CommitteeKind
source§fn clone(&self) -> CommitteeKind
fn clone(&self) -> CommitteeKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CommitteeKind
impl Debug for CommitteeKind
source§impl Decode for CommitteeKind
impl Decode for CommitteeKind
source§fn try_from_cbor_value(value: Value) -> Result<Self, DecodeError>
fn try_from_cbor_value(value: Value) -> Result<Self, DecodeError>
Try to decode from a given CBOR value.
§fn try_default() -> Result<Self, DecodeError>where
Self: Sized,
fn try_default() -> Result<Self, DecodeError>where
Self: Sized,
Try to decode from a missing/null/undefined value.
§fn try_from_cbor_value_default(value: Value) -> Result<Self, DecodeError>where
Self: Sized,
fn try_from_cbor_value_default(value: Value) -> Result<Self, DecodeError>where
Self: Sized,
Try to decode from a given CBOR value, calling
try_default
in case the value is null or
undefined.source§impl Default for CommitteeKind
impl Default for CommitteeKind
source§fn default() -> CommitteeKind
fn default() -> CommitteeKind
Returns the “default value” for a type. Read more
source§impl Encode for CommitteeKind
impl Encode for CommitteeKind
source§impl Hash for CommitteeKind
impl Hash for CommitteeKind
source§impl Ord for CommitteeKind
impl Ord for CommitteeKind
source§fn cmp(&self, other: &CommitteeKind) -> Ordering
fn cmp(&self, other: &CommitteeKind) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for CommitteeKind
impl PartialEq for CommitteeKind
source§fn eq(&self, other: &CommitteeKind) -> bool
fn eq(&self, other: &CommitteeKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CommitteeKind
impl PartialOrd for CommitteeKind
source§fn partial_cmp(&self, other: &CommitteeKind) -> Option<Ordering>
fn partial_cmp(&self, other: &CommitteeKind) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for CommitteeKind
impl StructuralPartialEq for CommitteeKind
Auto Trait Implementations§
impl Freeze for CommitteeKind
impl RefUnwindSafe for CommitteeKind
impl Send for CommitteeKind
impl Sync for CommitteeKind
impl Unpin for CommitteeKind
impl UnwindSafe for CommitteeKind
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.