#[non_exhaustive]pub struct U3vStreamCounters {
pub transfers: u64,
pub transfers_skipped: u64,
pub transfer_errors: u64,
pub blocks_abandoned: u64,
}Expand description
What a stream has counted since it was opened.
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.transfers: u64Transfers that completed, whatever they carried.
transfers_skipped: u64Transfers that were neither the leader, the payload nor the trailer due: the tail of a block whose start was missed, or payload past the layout’s capacity.
transfer_errors: u64Transfers that failed with a USB error the stream recovered from by resetting the endpoint (backlog UV-02).
blocks_abandoned: u64Blocks given up before their trailer.
Trait Implementations§
Source§impl Clone for U3vStreamCounters
impl Clone for U3vStreamCounters
impl Copy for U3vStreamCounters
Source§impl Debug for U3vStreamCounters
impl Debug for U3vStreamCounters
Source§impl Default for U3vStreamCounters
impl Default for U3vStreamCounters
impl Eq for U3vStreamCounters
Source§impl PartialEq for U3vStreamCounters
impl PartialEq for U3vStreamCounters
impl StructuralPartialEq for U3vStreamCounters
Auto Trait Implementations§
impl Freeze for U3vStreamCounters
impl RefUnwindSafe for U3vStreamCounters
impl Send for U3vStreamCounters
impl Sync for U3vStreamCounters
impl Unpin for U3vStreamCounters
impl UnsafeUnpin for U3vStreamCounters
impl UnwindSafe for U3vStreamCounters
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.