pub struct TxStreamingStats {
pub samples_accepted: u64,
pub buffers_submitted: u64,
pub buffers_completed: u64,
pub flush_buffers: u64,
}Expand description
Counters collected during one TX start/stop period.
Fields§
§samples_accepted: u64Complex application samples accepted by the driver.
buffers_submitted: u64Bulk-OUT transfers submitted to the USB backend.
buffers_completed: u64Bulk-OUT transfers completed successfully.
flush_buffers: u64Zero-filled terminal flush transfers submitted.
A flush is submitted explicitly with end_burst or automatically by
TxStream::stop when accepted samples still need a boundary.
Trait Implementations§
Source§impl Clone for TxStreamingStats
impl Clone for TxStreamingStats
Source§fn clone(&self) -> TxStreamingStats
fn clone(&self) -> TxStreamingStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TxStreamingStats
Source§impl Debug for TxStreamingStats
impl Debug for TxStreamingStats
Source§impl Default for TxStreamingStats
impl Default for TxStreamingStats
Source§fn default() -> TxStreamingStats
fn default() -> TxStreamingStats
Returns the “default value” for a type. Read more
impl Eq for TxStreamingStats
Source§impl PartialEq for TxStreamingStats
impl PartialEq for TxStreamingStats
impl StructuralPartialEq for TxStreamingStats
Auto Trait Implementations§
impl Freeze for TxStreamingStats
impl RefUnwindSafe for TxStreamingStats
impl Send for TxStreamingStats
impl Sync for TxStreamingStats
impl Unpin for TxStreamingStats
impl UnsafeUnpin for TxStreamingStats
impl UnwindSafe for TxStreamingStats
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