#[repr(u8)]
pub enum SpecId {
FRONTIER,
HOMESTEAD,
TANGERINE,
SPURIOUS_DRAGON,
BYZANTINE,
CONSTANTINOPLE,
PETERSBURG,
ISTANBUL,
MUIRGLACIER,
BERLIN,
LONDON,
LATEST,
}
Variants
FRONTIER
HOMESTEAD
TANGERINE
SPURIOUS_DRAGON
BYZANTINE
CONSTANTINOPLE
PETERSBURG
ISTANBUL
MUIRGLACIER
BERLIN
LONDON
LATEST
Implementations
Trait Implementations
type Error = TryFromPrimitiveError<Self>
type Error = TryFromPrimitiveError<Self>
The type returned in the event of a conversion error.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for SpecId
impl UnwindSafe for SpecId
Blanket Implementations
Mutably borrows from an owned value. Read more