Type Alias solana_sdk::clock::BankId

source ·
pub type BankId = u64;
Expand description

Uniquely distinguishes every version of a slot.

The BankId is unique even if the slot number of two different slots is the same. This can happen in the case of e.g. duplicate slots.

Trait Implementations§

source§

impl VarInt for u64

source§

fn visit_seq<'de, A>(seq: A) -> Result<u64, <A as SeqAccess<'de>>::Error>where A: SeqAccess<'de>,

source§

fn serialize<S>( self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,