Enum solana_rpc::rpc_subscriptions::NotificationEntry [−][src]
pub enum NotificationEntry {
Slot(SlotInfo),
SlotUpdate(SlotUpdate),
Vote(Vote),
Root(Slot),
Bank(CommitmentSlots),
Gossip(Slot),
SignaturesReceived((Slot, Vec<Signature>)),
Subscribed(SubscriptionParams, SubscriptionId),
Unsubscribed(SubscriptionParams, SubscriptionId),
}
Variants
Slot(SlotInfo)
Tuple Fields of Slot
0: SlotInfo
SlotUpdate(SlotUpdate)
Tuple Fields of SlotUpdate
0: SlotUpdate
Vote(Vote)
Tuple Fields of Vote
0: Vote
Bank(CommitmentSlots)
Tuple Fields of Bank
Subscribed(SubscriptionParams, SubscriptionId)
Tuple Fields of Subscribed
Unsubscribed(SubscriptionParams, SubscriptionId)
Tuple Fields of Unsubscribed
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for NotificationEntry
impl Send for NotificationEntry
impl Sync for NotificationEntry
impl Unpin for NotificationEntry
impl UnwindSafe for NotificationEntry
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more