Enum explorer::db::indexing::ExplorerAddress
source · pub enum ExplorerAddress {
New(Address),
Old(Addr),
}
Variants§
Implementations§
source§impl ExplorerAddress
impl ExplorerAddress
pub fn to_identifier(&self) -> Option<Identifier>
Trait Implementations§
source§impl Clone for ExplorerAddress
impl Clone for ExplorerAddress
source§fn clone(&self) -> ExplorerAddress
fn clone(&self) -> ExplorerAddress
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 ExplorerAddress
impl Debug for ExplorerAddress
source§impl From<&ExplorerAddress> for Address
impl From<&ExplorerAddress> for Address
source§fn from(addr: &ExplorerAddress) -> Address
fn from(addr: &ExplorerAddress) -> Address
Converts to this type from the input type.
source§impl Hash for ExplorerAddress
impl Hash for ExplorerAddress
source§impl PartialEq<ExplorerAddress> for ExplorerAddress
impl PartialEq<ExplorerAddress> for ExplorerAddress
source§fn eq(&self, other: &ExplorerAddress) -> bool
fn eq(&self, other: &ExplorerAddress) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ExplorerAddress
impl StructuralEq for ExplorerAddress
impl StructuralPartialEq for ExplorerAddress
Auto Trait Implementations§
impl RefUnwindSafe for ExplorerAddress
impl Send for ExplorerAddress
impl Sync for ExplorerAddress
impl Unpin for ExplorerAddress
impl UnwindSafe for ExplorerAddress
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<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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request