pub struct NetworkStatus {
pub connected: bool,
pub peer_count: usize,
pub latest_round: u64,
pub sync_status: SyncStatus,
pub network_version: String,
}Fields§
§connected: bool§peer_count: usize§latest_round: u64§sync_status: SyncStatus§network_version: StringTrait Implementations§
Source§impl Clone for NetworkStatus
impl Clone for NetworkStatus
Source§fn clone(&self) -> NetworkStatus
fn clone(&self) -> NetworkStatus
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for NetworkStatus
impl RefUnwindSafe for NetworkStatus
impl Send for NetworkStatus
impl Sync for NetworkStatus
impl Unpin for NetworkStatus
impl UnsafeUnpin for NetworkStatus
impl UnwindSafe for NetworkStatus
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