pub struct SampleLost {
pub total: Counter,
}Expand description
Delivered to the
with_sample_lost
callback when a sample is lost before being received by the reader.
Fields§
§total: CounterRunning count of lost samples.
Trait Implementations§
Source§impl Clone for SampleLost
impl Clone for SampleLost
Source§fn clone(&self) -> SampleLost
fn clone(&self) -> SampleLost
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 SampleLost
Source§impl Debug for SampleLost
impl Debug for SampleLost
impl Eq for SampleLost
Source§impl From<dds_sample_lost_status> for SampleLost
impl From<dds_sample_lost_status> for SampleLost
Source§fn from(status: dds_sample_lost_status_t) -> Self
fn from(status: dds_sample_lost_status_t) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SampleLost
impl PartialEq for SampleLost
Source§fn eq(&self, other: &SampleLost) -> bool
fn eq(&self, other: &SampleLost) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SampleLost
Auto Trait Implementations§
impl Freeze for SampleLost
impl RefUnwindSafe for SampleLost
impl Send for SampleLost
impl Sync for SampleLost
impl Unpin for SampleLost
impl UnsafeUnpin for SampleLost
impl UnwindSafe for SampleLost
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