pub trait ChainSyncStatus:
Clone
+ Send
+ Sync
+ 'static {
// Required methods
fn is_syncing(&self) -> bool;
fn is_offline(&self) -> bool;
}
Expand description
Chain sync status
Required Methods§
Sourcefn is_syncing(&self) -> bool
fn is_syncing(&self) -> bool
Returns true
if the chain is currently syncing
Sourcefn is_offline(&self) -> bool
fn is_offline(&self) -> bool
Returns true
if the node is currently offline
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.