Enum ethers_core::types::AddressOrBytes [−][src]
Expand description
A type that can either be an Address
or Bytes
.
Variants
Address(Address)
An address type
Tuple Fields of Address
0: Address
Bytes(Bytes)
A bytes type
Tuple Fields of Bytes
0: Bytes
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for AddressOrBytes
impl Send for AddressOrBytes
impl Sync for AddressOrBytes
impl Unpin for AddressOrBytes
impl UnwindSafe for AddressOrBytes
Blanket Implementations
Mutably borrows from an owned value. Read more