Enum rustdds::dds::statusevents::DataReaderStatus
source · [−]pub enum DataReaderStatus {
SampleRejected {
count: CountWithChange,
last_reason: SampleRejectedStatusKind,
},
LivelinessChanged {
alive_total: CountWithChange,
not_alive_total: CountWithChange,
},
RequestedDeadlineMissed {
count: CountWithChange,
},
RequestedIncompatibleQos {
count: CountWithChange,
last_policy_id: QosPolicyId,
policies: Vec<QosPolicyCount>,
},
SampleLost {
count: CountWithChange,
},
SubscriptionMatched {
total: CountWithChange,
current: CountWithChange,
},
}
Variants
SampleRejected
Sample was rejected, because resource limits would have been exeeded.
LivelinessChanged
Remote Writer has become active or inactive.
RequestedDeadlineMissed
Fields
count: CountWithChange
Deadline requested by this DataReader was missed.
RequestedIncompatibleQos
This DataReader has requested a QoS policy that is incompatibel with what is offered.
SampleLost
Fields
count: CountWithChange
A sample has been lost (never received). (Whtever this means?)
SubscriptionMatched
The DataReader has found a DataWriter that matches the Topic and has compatible QoS, or has ceased to be matched with a DataWriter that was previously considered to be matched.
Trait Implementations
sourceimpl Clone for DataReaderStatus
impl Clone for DataReaderStatus
sourcefn clone(&self) -> DataReaderStatus
fn clone(&self) -> DataReaderStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DataReaderStatus
impl Debug for DataReaderStatus
sourceimpl<D, DA> StatusEvented<DataReaderStatus> for DataReader<D, DA> where
D: Keyed + DeserializeOwned,
DA: DeserializerAdapter<D>,
impl<D, DA> StatusEvented<DataReaderStatus> for DataReader<D, DA> where
D: Keyed + DeserializeOwned,
DA: DeserializerAdapter<D>,
fn as_status_evented(&mut self) -> &dyn Evented
fn try_recv_status(&self) -> Option<DataReaderStatus>
Auto Trait Implementations
impl RefUnwindSafe for DataReaderStatus
impl Send for DataReaderStatus
impl Sync for DataReaderStatus
impl Unpin for DataReaderStatus
impl UnwindSafe for DataReaderStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more