pub enum BroadcastEventKind {
MappingUpdate,
StakingReward,
}Expand description
Discriminant-only companion to BroadcastEvent, used by
SlipstreamPlugin::subscribed_events to declare which event types a plugin
wishes to receive without carrying data payloads.
Variants§
MappingUpdate
Mapping key-value update during canonical finalize.
StakingReward
Staking reward distribution during canonical finalize.
Trait Implementations§
Source§impl Clone for BroadcastEventKind
impl Clone for BroadcastEventKind
Source§fn clone(&self) -> BroadcastEventKind
fn clone(&self) -> BroadcastEventKind
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 BroadcastEventKind
impl Debug for BroadcastEventKind
Source§impl PartialEq for BroadcastEventKind
impl PartialEq for BroadcastEventKind
Source§fn eq(&self, other: &BroadcastEventKind) -> bool
fn eq(&self, other: &BroadcastEventKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for BroadcastEventKind
impl Eq for BroadcastEventKind
impl StructuralPartialEq for BroadcastEventKind
Auto Trait Implementations§
impl Freeze for BroadcastEventKind
impl RefUnwindSafe for BroadcastEventKind
impl Send for BroadcastEventKind
impl Sync for BroadcastEventKind
impl Unpin for BroadcastEventKind
impl UnsafeUnpin for BroadcastEventKind
impl UnwindSafe for BroadcastEventKind
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