#[non_exhaustive]pub struct ExchangeCounters {
pub sent: u32,
pub acknowledgements: u32,
pub results: u32,
pub last_result: Option<BvlcResultCode>,
pub timeouts: u32,
pub busy: u32,
pub local_errors: u32,
pub malformed_responses: u32,
}Expand description
One operation’s exchanges since the counters were last taken, manual and automatic alike. Counts saturate.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.sent: u32Requests the caller reported sent.
acknowledgements: u32Matched, accepted table ACKs.
results: u32Matched, well-formed BVLC-Results: success or the operation’s NAK.
last_result: Option<BvlcResultCode>The newest of those results’ codes.
timeouts: u32Sent requests whose response timeout passed unanswered.
busy: u32Requests refused because their exchange’s slot was taken.
local_errors: u32Requests whose send the caller reported failed.
malformed_responses: u32Malformed responses from the peer of a live exchange of this operation, counted against the first such exchange in slot order.
Trait Implementations§
Source§impl Clone for ExchangeCounters
impl Clone for ExchangeCounters
impl Copy for ExchangeCounters
Source§impl Debug for ExchangeCounters
impl Debug for ExchangeCounters
Source§impl Default for ExchangeCounters
impl Default for ExchangeCounters
impl Eq for ExchangeCounters
Source§impl PartialEq for ExchangeCounters
impl PartialEq for ExchangeCounters
impl StructuralPartialEq for ExchangeCounters
Auto Trait Implementations§
impl Freeze for ExchangeCounters
impl RefUnwindSafe for ExchangeCounters
impl Send for ExchangeCounters
impl Sync for ExchangeCounters
impl Unpin for ExchangeCounters
impl UnsafeUnpin for ExchangeCounters
impl UnwindSafe for ExchangeCounters
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