Struct solana_core::cluster_info_vote_listener::VoteTracker[][src]

pub struct VoteTracker { /* fields omitted */ }

Implementations

impl VoteTracker[src]

pub fn new(root_bank: &Bank) -> Self[src]

pub fn get_or_insert_slot_tracker(
    &self,
    slot: Slot
) -> Arc<RwLock<SlotVoteTracker>>
[src]

pub fn get_slot_vote_tracker(
    &self,
    slot: Slot
) -> Option<Arc<RwLock<SlotVoteTracker>>>
[src]

pub fn get_authorized_voter(
    &self,
    pubkey: &Pubkey,
    slot: Slot
) -> Option<Pubkey>
[src]

pub fn vote_contains_authorized_voter(
    vote_tx: &Transaction,
    authorized_voter: &Pubkey
) -> bool
[src]

Trait Implementations

impl Default for VoteTracker[src]

Auto Trait Implementations

Blanket Implementations

impl<T> AbiExample for T[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]