Enum evm_opcodes::Upgrade
source · pub enum Upgrade {
Frontier,
Byzantium,
Constantinople,
Istanbul,
Berlin,
London,
Shanghai,
}
Expand description
Ethereum upgrades.
Variants§
Frontier
Frontier
Byzantium
Byzantium
Constantinople
Constantinople
Istanbul
Istanbul
Berlin
Berlin
London
London
Shanghai
Shanghai
Trait Implementations§
source§impl Ord for Upgrade
impl Ord for Upgrade
source§impl PartialEq for Upgrade
impl PartialEq for Upgrade
source§impl PartialOrd for Upgrade
impl PartialOrd for Upgrade
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Upgrade
impl Eq for Upgrade
impl StructuralPartialEq for Upgrade
Auto Trait Implementations§
impl RefUnwindSafe for Upgrade
impl Send for Upgrade
impl Sync for Upgrade
impl Unpin for Upgrade
impl UnwindSafe for Upgrade
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more