pub struct SampleRejected {
pub total: Counter,
pub last_reason: SampleRejectedReason,
pub last_instance_handle: InstanceHandle,
}Expand description
Delivered to the
with_sample_rejected
callback.
Fields§
§total: CounterRunning count of rejected samples.
last_reason: SampleRejectedReasonThe reason the most recent sample was rejected.
last_instance_handle: InstanceHandleInstance handle of the instance whose sample was most recently rejected.
Trait Implementations§
Source§impl Clone for SampleRejected
impl Clone for SampleRejected
Source§fn clone(&self) -> SampleRejected
fn clone(&self) -> SampleRejected
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 SampleRejected
Source§impl Debug for SampleRejected
impl Debug for SampleRejected
impl Eq for SampleRejected
Source§impl From<dds_sample_rejected_status> for SampleRejected
impl From<dds_sample_rejected_status> for SampleRejected
Source§fn from(status: dds_sample_rejected_status_t) -> Self
fn from(status: dds_sample_rejected_status_t) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SampleRejected
impl PartialEq for SampleRejected
Source§fn eq(&self, other: &SampleRejected) -> bool
fn eq(&self, other: &SampleRejected) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SampleRejected
Auto Trait Implementations§
impl Freeze for SampleRejected
impl RefUnwindSafe for SampleRejected
impl Send for SampleRejected
impl Sync for SampleRejected
impl Unpin for SampleRejected
impl UnsafeUnpin for SampleRejected
impl UnwindSafe for SampleRejected
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