pub enum SampleRejectedReason {
NotRejected,
RejectedByInstancesLimit,
RejectedBySamplesLimit,
RejectedBySamplesPerInstanceLimit,
}Expand description
Delivered to the
with_sample_rejected
callback when an incoming sample is rejected due to resource limits.
Variants§
NotRejected
The sample was not rejected.
RejectedByInstancesLimit
Rejected because the maximum number of instances has been reached.
RejectedBySamplesLimit
Rejected because the maximum number of samples has been reached.
RejectedBySamplesPerInstanceLimit
Rejected because the maximum number of samples per instance has been reached.
Trait Implementations§
Source§impl Clone for SampleRejectedReason
impl Clone for SampleRejectedReason
Source§fn clone(&self) -> SampleRejectedReason
fn clone(&self) -> SampleRejectedReason
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 SampleRejectedReason
Source§impl Debug for SampleRejectedReason
impl Debug for SampleRejectedReason
impl Eq for SampleRejectedReason
Source§impl From<u32> for SampleRejectedReason
impl From<u32> for SampleRejectedReason
Source§fn from(reason: dds_sample_rejected_status_kind) -> Self
fn from(reason: dds_sample_rejected_status_kind) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SampleRejectedReason
impl PartialEq for SampleRejectedReason
Source§fn eq(&self, other: &SampleRejectedReason) -> bool
fn eq(&self, other: &SampleRejectedReason) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SampleRejectedReason
Auto Trait Implementations§
impl Freeze for SampleRejectedReason
impl RefUnwindSafe for SampleRejectedReason
impl Send for SampleRejectedReason
impl Sync for SampleRejectedReason
impl Unpin for SampleRejectedReason
impl UnsafeUnpin for SampleRejectedReason
impl UnwindSafe for SampleRejectedReason
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