Type Alias solana_program::clock::Epoch

source ·
pub type Epoch = u64;
Expand description

Epoch is a unit of time a given leader schedule is honored, some number of Slots.

Trait Implementations§

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,