Type Alias solana_program::clock::Epoch
source · pub type Epoch = u64;
Expand description
The unit of time a given leader schedule is honored.
It lasts for some number of Slot
s.
Trait Implementations§
source§impl From<AltBn128Error> for u64
impl From<AltBn128Error> for u64
source§fn from(v: AltBn128Error) -> u64
fn from(v: AltBn128Error) -> u64
Converts to this type from the input type.
source§impl From<ProgramError> for u64
impl From<ProgramError> for u64
source§fn from(error: ProgramError) -> Self
fn from(error: ProgramError) -> Self
Converts to this type from the input type.
source§impl From<Secp256k1RecoverError> for u64
impl From<Secp256k1RecoverError> for u64
source§fn from(v: Secp256k1RecoverError) -> u64
fn from(v: Secp256k1RecoverError) -> u64
Converts to this type from the input type.