pub enum EVMVersion {
Show 13 variants
Homestead,
TangerineWhistle,
SpuriousDragon,
Byzantium,
Constantinople,
Petersburg,
Istanbul,
Berlin,
London,
Paris,
Shanghai,
Cancun,
Prague,
}
Expand description
The EVM version.
Variants§
Homestead
The corresponding EVM version.
TangerineWhistle
The corresponding EVM version.
SpuriousDragon
The corresponding EVM version.
Byzantium
The corresponding EVM version.
Constantinople
The corresponding EVM version.
Petersburg
The corresponding EVM version.
Istanbul
The corresponding EVM version.
Berlin
The corresponding EVM version.
London
The corresponding EVM version.
Paris
The corresponding EVM version.
Shanghai
The corresponding EVM version.
Cancun
The corresponding EVM version.
Prague
The corresponding EVM version.
Trait Implementations§
Source§impl Clone for EVMVersion
impl Clone for EVMVersion
Source§fn clone(&self) -> EVMVersion
fn clone(&self) -> EVMVersion
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EVMVersion
impl Debug for EVMVersion
Source§impl<'de> Deserialize<'de> for EVMVersion
impl<'de> Deserialize<'de> for EVMVersion
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for EVMVersion
impl Display for EVMVersion
Source§impl FromStr for EVMVersion
impl FromStr for EVMVersion
Source§impl Hash for EVMVersion
impl Hash for EVMVersion
Source§impl Ord for EVMVersion
impl Ord for EVMVersion
Source§fn cmp(&self, other: &EVMVersion) -> Ordering
fn cmp(&self, other: &EVMVersion) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EVMVersion
impl PartialEq for EVMVersion
Source§impl PartialOrd for EVMVersion
impl PartialOrd for EVMVersion
Source§impl Serialize for EVMVersion
impl Serialize for EVMVersion
impl Copy for EVMVersion
impl Eq for EVMVersion
impl StructuralPartialEq for EVMVersion
Auto Trait Implementations§
impl Freeze for EVMVersion
impl RefUnwindSafe for EVMVersion
impl Send for EVMVersion
impl Sync for EVMVersion
impl Unpin for EVMVersion
impl UnwindSafe for EVMVersion
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more