Struct ipfs_api_backend_hyper::response::BitswapStatResponse [−][src]
pub struct BitswapStatResponse {
pub provide_buf_len: i32,
pub wantlist: Vec<String, Global>,
pub peers: Vec<String, Global>,
pub blocks_received: u64,
pub data_received: u64,
pub blocks_sent: u64,
pub data_sent: u64,
pub dup_blks_received: u64,
pub dup_data_received: u64,
}
Fields
provide_buf_len: i32
wantlist: Vec<String, Global>
peers: Vec<String, Global>
blocks_received: u64
data_received: u64
blocks_sent: u64
data_sent: u64
dup_blks_received: u64
dup_data_received: u64
Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<BitswapStatResponse, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<BitswapStatResponse, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for BitswapStatResponse
impl Send for BitswapStatResponse
impl Sync for BitswapStatResponse
impl Unpin for BitswapStatResponse
impl UnwindSafe for BitswapStatResponse
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more