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 From<AltBn128Error> for u64

source§

fn from(v: AltBn128Error) -> u64

Converts to this type from the input type.
source§

impl From<ProgramError> for u64

source§

fn from(error: ProgramError) -> Self

Converts to this type from the input type.
source§

impl From<Secp256k1RecoverError> for u64

source§

fn from(v: Secp256k1RecoverError) -> u64

Converts to this type from the input type.
source§

impl VarInt for u64

source§

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

source§

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