Enum ethers_iqkms::types::SyncingStatus
source · [−]pub enum SyncingStatus {
IsFalse,
IsSyncing(Box<SyncProgress, Global>),
}Expand description
Structure used in eth_syncing RPC
Variants
IsFalse
When client is synced to highest block, eth_syncing with return string “false”
IsSyncing(Box<SyncProgress, Global>)
When client is still syncing past blocks we get IsSyncing information.
Trait Implementations
sourceimpl Clone for SyncingStatus
impl Clone for SyncingStatus
sourcefn clone(&self) -> SyncingStatus
fn clone(&self) -> SyncingStatus
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 SyncingStatus
impl Debug for SyncingStatus
sourceimpl<'de> Deserialize<'de> for SyncingStatus
impl<'de> Deserialize<'de> for SyncingStatus
sourcefn deserialize<D>(
deserializer: D
) -> Result<SyncingStatus, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<SyncingStatus, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<SyncingStatus> for SyncingStatus
impl PartialEq<SyncingStatus> for SyncingStatus
sourcefn eq(&self, other: &SyncingStatus) -> bool
fn eq(&self, other: &SyncingStatus) -> bool
sourceimpl Serialize for SyncingStatus
impl Serialize for SyncingStatus
sourcefn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for SyncingStatus
impl StructuralEq for SyncingStatus
impl StructuralPartialEq for SyncingStatus
Auto Trait Implementations
impl RefUnwindSafe for SyncingStatus
impl Send for SyncingStatus
impl Sync for SyncingStatus
impl Unpin for SyncingStatus
impl UnwindSafe for SyncingStatus
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