pub struct NetinfoRequestHandler {
Show 13 fields pub counts: [[u16; 5]; 3], pub block_relay_peers_count: u8, pub manual_peers_count: u8, pub details_level: u8, pub is_asmap_on: bool, pub max_addr_length: usize, pub max_addr_processed_length: usize, pub max_addr_rate_limited_length: usize, pub max_age_length: usize, pub max_id_length: usize, pub peers: Vec<NetInfoRequestHandlerPeer>, pub time_now: i64, pub help_doc: String,
}
Expand description

| Process netinfo requests |

Fields§

§counts: [[u16; 5]; 3]

| Peer counts by (in/out/total, networks/total) |

§block_relay_peers_count: u8§manual_peers_count: u8§details_level: u8

| Optional user-supplied arg to set dashboard | details level |

§is_asmap_on: bool§max_addr_length: usize§max_addr_processed_length: usize§max_addr_rate_limited_length: usize§max_age_length: usize§max_id_length: usize§peers: Vec<NetInfoRequestHandlerPeer>§time_now: i64§help_doc: String

Implementations§

Trait Implementations§

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Performs the conversion. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
Should always be Self
Convert type of a const pointer. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
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