pub fn status(&self) -> NetworkStatus<B> {
		NetworkStatus {
			sync_state: self.sync_state(),
			best_seen_block: self.best_seen_block(),
			num_sync_peers: self.num_sync_peers(),
			num_connected_peers: self.num_connected_peers(),
			num_active_peers: self.num_active_peers(),
			total_bytes_inbound: self.total_bytes_inbound(),
			total_bytes_outbound: self.total_bytes_outbound(),
		}
	}
/// High-level network status information.
High-level network status information.
High - level network status information .
pub fn status(&self) -> NetworkStatus<B> {
		NetworkStatus {
			sync_state: self.sync_state(),
			best_seen_block: self.best_seen_block(),
			num_sync_peers: self.num_sync_peers(),
			num_connected_peers: self.num_connected_peers(),
			num_active_peers: self.num_active_peers(),
			total_bytes_inbound: self.total_bytes_inbound(),
			total_bytes_outbound: self.total_bytes_outbound(),
		}
	}
pub fn status ( & self ) -> NetworkStatus < B > { NetworkStatus { sync_state : self . sync_state ( ) , best_seen_block : self . best_seen_block ( ) , num_sync_peers : self . num_sync_peers ( ) , num_connected_peers : self . num_connected_peers ( ) , num_active_peers : self . num_active_peers ( ) , total_bytes_inbound : self . total_bytes_inbound ( ) , total_bytes_outbound : self . total_bytes_outbound ( ) , } }
High-level network status information.
High - level network status information .
&self
&self