Struct rustdds::ReadCondition
source · [−]pub struct ReadCondition { /* private fields */ }
Expand description
This is used to specify which samples are to be read or taken from
a Datareader
To be selected, the current state of the sample must be included in the corresponding bitflags. See DDS Specification 1.4 Section “2.2.2.5.8 ReadCondition”
Implementations
sourceimpl ReadCondition
impl ReadCondition
pub fn sample_state_mask(&self) -> &BitFlags<SampleState>
pub fn view_state_mask(&self) -> &BitFlags<ViewState>
pub fn instance_state_mask(&self) -> &BitFlags<InstanceState>
Trait Implementations
sourceimpl Clone for ReadCondition
impl Clone for ReadCondition
sourcefn clone(&self) -> ReadCondition
fn clone(&self) -> ReadCondition
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 moresourceimpl Debug for ReadCondition
impl Debug for ReadCondition
sourceimpl PartialEq<ReadCondition> for ReadCondition
impl PartialEq<ReadCondition> for ReadCondition
sourcefn eq(&self, other: &ReadCondition) -> bool
fn eq(&self, other: &ReadCondition) -> bool
impl Copy for ReadCondition
impl Eq for ReadCondition
impl StructuralEq for ReadCondition
impl StructuralPartialEq for ReadCondition
Auto Trait Implementations
impl RefUnwindSafe for ReadCondition
impl Send for ReadCondition
impl Sync for ReadCondition
impl Unpin for ReadCondition
impl UnwindSafe for ReadCondition
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more