pub enum ConsensusUpdate {
SlotCommitmentStatus(SlotCommitmentStatusUpdate),
}Variants§
SlotCommitmentStatus(SlotCommitmentStatusUpdate)
Trait Implementations§
Source§impl Clone for ConsensusUpdate
impl Clone for ConsensusUpdate
Source§fn clone(&self) -> ConsensusUpdate
fn clone(&self) -> ConsensusUpdate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ConsensusUpdate
impl Debug for ConsensusUpdate
Source§impl From<SlotCommitmentStatusUpdate> for ConsensusUpdate
impl From<SlotCommitmentStatusUpdate> for ConsensusUpdate
Source§fn from(value: SlotCommitmentStatusUpdate) -> Self
fn from(value: SlotCommitmentStatusUpdate) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ConsensusUpdate
impl RefUnwindSafe for ConsensusUpdate
impl Send for ConsensusUpdate
impl Sync for ConsensusUpdate
impl Unpin for ConsensusUpdate
impl UnsafeUnpin for ConsensusUpdate
impl UnwindSafe for ConsensusUpdate
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