#[non_exhaustive]pub struct MessageChannelStats {
pub messages: u64,
pub transmissions: u64,
pub acknowledged: u64,
pub abandoned: u64,
pub lost: u64,
pub events: u64,
}Expand description
What a fake camera’s message channel did: FakeCamera::message_channel.
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.messages: u64Distinct messages sent.
transmissions: u64Datagrams sent: every message once, plus each retransmission.
acknowledged: u64Messages acknowledged.
abandoned: u64Messages given up on after GevMCRC retries.
lost: u64Events that found the queue full.
events: u64Events sent, each counted once whatever its message’s retransmissions.
Trait Implementations§
Source§impl Clone for MessageChannelStats
impl Clone for MessageChannelStats
impl Copy for MessageChannelStats
Source§impl Debug for MessageChannelStats
impl Debug for MessageChannelStats
Source§impl Default for MessageChannelStats
impl Default for MessageChannelStats
impl Eq for MessageChannelStats
Source§impl PartialEq for MessageChannelStats
impl PartialEq for MessageChannelStats
impl StructuralPartialEq for MessageChannelStats
Auto Trait Implementations§
impl Freeze for MessageChannelStats
impl RefUnwindSafe for MessageChannelStats
impl Send for MessageChannelStats
impl Sync for MessageChannelStats
impl Unpin for MessageChannelStats
impl UnsafeUnpin for MessageChannelStats
impl UnwindSafe for MessageChannelStats
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