Enum ethers::core::types::AddressOrBytes [−][src]
Expand description
A type that can either be an Address
or Bytes
.
Variants
Address(H160)
Tuple Fields
0: H160
An address type
Bytes(Bytes)
Tuple Fields
0: Bytes
A bytes type
Trait Implementations
Performs the conversion.
Performs the conversion.
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
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more