Enum ethers_core::macros::EthersCrate
source · pub enum EthersCrate {
EthersAddressbook,
EthersContract,
EthersContractAbigen,
EthersContractDerive,
EthersCore,
EthersEtherscan,
EthersMiddleware,
EthersProviders,
EthersSigners,
EthersSolc,
}
Available on crate feature
macros
only.Expand description
An ethers-rs
internal crate.
Variants§
EthersAddressbook
EthersContract
EthersContractAbigen
EthersContractDerive
EthersCore
EthersEtherscan
EthersMiddleware
EthersProviders
EthersSigners
EthersSolc
Implementations§
source§impl EthersCrate
impl EthersCrate
sourcepub const fn crate_name(self) -> &'static str
pub const fn crate_name(self) -> &'static str
“<self as kebab-case>
”
sourcepub const fn ethers_path_name(self) -> &'static str
pub const fn ethers_path_name(self) -> &'static str
“::ethers::<self in ethers>
”
sourcepub const fn fs_path(self) -> &'static str
pub const fn fs_path(self) -> &'static str
The path on the file system, from an ethers-rs
root directory.
sourcepub fn path_names() -> impl Iterator<Item = (Self, &'static str)>
pub fn path_names() -> impl Iterator<Item = (Self, &'static str)>
<ethers_*>
sourcepub fn ethers_path_names() -> impl Iterator<Item = (Self, &'static str)>
pub fn ethers_path_names() -> impl Iterator<Item = (Self, &'static str)>
<ethers::*>
Trait Implementations§
source§impl AsRef<str> for EthersCrate
impl AsRef<str> for EthersCrate
source§impl Clone for EthersCrate
impl Clone for EthersCrate
source§fn clone(&self) -> EthersCrate
fn clone(&self) -> EthersCrate
Returns a copy 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 EthersCrate
impl Debug for EthersCrate
source§impl Display for EthersCrate
impl Display for EthersCrate
source§impl FromStr for EthersCrate
impl FromStr for EthersCrate
source§impl Hash for EthersCrate
impl Hash for EthersCrate
source§impl IntoEnumIterator for EthersCrate
impl IntoEnumIterator for EthersCrate
type Iterator = EthersCrateIter
fn iter() -> EthersCrateIter ⓘ
source§impl Ord for EthersCrate
impl Ord for EthersCrate
source§fn cmp(&self, other: &EthersCrate) -> Ordering
fn cmp(&self, other: &EthersCrate) -> 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 EthersCrate
impl PartialEq for EthersCrate
source§fn eq(&self, other: &EthersCrate) -> bool
fn eq(&self, other: &EthersCrate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for EthersCrate
impl PartialOrd for EthersCrate
source§fn partial_cmp(&self, other: &EthersCrate) -> Option<Ordering>
fn partial_cmp(&self, other: &EthersCrate) -> Option<Ordering>
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 moresource§impl TryFrom<&str> for EthersCrate
impl TryFrom<&str> for EthersCrate
source§impl VariantNames for EthersCrate
impl VariantNames for EthersCrate
impl Copy for EthersCrate
impl Eq for EthersCrate
impl StructuralPartialEq for EthersCrate
Auto Trait Implementations§
impl RefUnwindSafe for EthersCrate
impl Send for EthersCrate
impl Sync for EthersCrate
impl Unpin for EthersCrate
impl UnwindSafe for EthersCrate
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