Enum ethers_iqkms::types::AddressOrBytes
source · [−]Expand description
A type that can either be an Address or Bytes.
Variants
Address(H160)
An address type
Bytes(Bytes)
A bytes type
Trait Implementations
sourceimpl Clone for AddressOrBytes
impl Clone for AddressOrBytes
sourcefn clone(&self) -> AddressOrBytes
fn clone(&self) -> AddressOrBytes
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for AddressOrBytes
impl Debug for AddressOrBytes
sourceimpl From<Bytes> for AddressOrBytes
impl From<Bytes> for AddressOrBytes
sourcefn from(s: Bytes) -> AddressOrBytes
fn from(s: Bytes) -> AddressOrBytes
Converts to this type from the input type.
sourceimpl From<H160> for AddressOrBytes
impl From<H160> for AddressOrBytes
sourcefn from(s: H160) -> AddressOrBytes
fn from(s: H160) -> AddressOrBytes
Converts to this type from the input type.
sourceimpl PartialEq<AddressOrBytes> for AddressOrBytes
impl PartialEq<AddressOrBytes> for AddressOrBytes
sourcefn eq(&self, other: &AddressOrBytes) -> bool
fn eq(&self, other: &AddressOrBytes) -> bool
impl Eq for AddressOrBytes
impl StructuralEq for AddressOrBytes
impl StructuralPartialEq for AddressOrBytes
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request