pub enum BlockIdFlag {
Absent,
Commit,
Nil,
}
Expand description
Indicates whether the validator voted for a block, nil, or did not vote at all
Variants§
Trait Implementations§
Source§impl Clone for BlockIdFlag
impl Clone for BlockIdFlag
Source§fn clone(&self) -> BlockIdFlag
fn clone(&self) -> BlockIdFlag
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 BlockIdFlag
impl Debug for BlockIdFlag
Source§impl From<BlockIdFlag> for BlockIdFlag
impl From<BlockIdFlag> for BlockIdFlag
Source§fn from(value: BlockIdFlag) -> RawBlockIdFlag
fn from(value: BlockIdFlag) -> RawBlockIdFlag
Converts to this type from the input type.
Source§impl From<BlockIdFlag> for BlockIdFlag
impl From<BlockIdFlag> for BlockIdFlag
Source§fn from(value: BlockIdFlag) -> RawBlockIdFlag
fn from(value: BlockIdFlag) -> RawBlockIdFlag
Converts to this type from the input type.
Source§impl From<BlockIdFlag> for BlockIdFlag
impl From<BlockIdFlag> for BlockIdFlag
Source§fn from(value: BlockIdFlag) -> RawBlockIdFlag
fn from(value: BlockIdFlag) -> RawBlockIdFlag
Converts to this type from the input type.
Source§impl PartialEq for BlockIdFlag
impl PartialEq for BlockIdFlag
Source§impl TryFrom<BlockIdFlag> for BlockIdFlag
impl TryFrom<BlockIdFlag> for BlockIdFlag
Source§impl TryFrom<BlockIdFlag> for BlockIdFlag
impl TryFrom<BlockIdFlag> for BlockIdFlag
Source§impl TryFrom<BlockIdFlag> for BlockIdFlag
impl TryFrom<BlockIdFlag> for BlockIdFlag
impl Copy for BlockIdFlag
impl Eq for BlockIdFlag
impl StructuralPartialEq for BlockIdFlag
Auto Trait Implementations§
impl Freeze for BlockIdFlag
impl RefUnwindSafe for BlockIdFlag
impl Send for BlockIdFlag
impl Sync for BlockIdFlag
impl Unpin for BlockIdFlag
impl UnwindSafe for BlockIdFlag
Blanket Implementations§
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