pub struct StreamingStats {
pub buffers_received: u64,
pub buffers_processed: u64,
pub buffers_dropped: u64,
pub buffers_discarded_on_restart: u64,
}Expand description
Counters collected during a receive-stream lifetime.
HackRF sample transfers have no sequence number, so these counters cannot detect samples lost inside the device before a USB completion reaches the host.
Fields§
§buffers_received: u64USB completions consumed by the driver.
buffers_processed: u64Successful completions accepted for sample conversion.
buffers_dropped: u64Completions discarded because of errors or controlled restart.
buffers_discarded_on_restart: u64Old submissions drained before exposing samples after a restart.
Trait Implementations§
Source§impl Clone for StreamingStats
impl Clone for StreamingStats
Source§fn clone(&self) -> StreamingStats
fn clone(&self) -> StreamingStats
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 StreamingStats
Source§impl Debug for StreamingStats
impl Debug for StreamingStats
Source§impl Default for StreamingStats
impl Default for StreamingStats
Source§fn default() -> StreamingStats
fn default() -> StreamingStats
Returns the “default value” for a type. Read more
impl Eq for StreamingStats
Source§impl PartialEq for StreamingStats
impl PartialEq for StreamingStats
impl StructuralPartialEq for StreamingStats
Auto Trait Implementations§
impl Freeze for StreamingStats
impl RefUnwindSafe for StreamingStats
impl Send for StreamingStats
impl Sync for StreamingStats
impl Unpin for StreamingStats
impl UnsafeUnpin for StreamingStats
impl UnwindSafe for StreamingStats
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