pub type Slot = u64;
Expand description

The unit of time given to a leader for encoding a block.

It is some some number of ticks long.

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,