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§
source§impl 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§
source§impl Clone for ReadCondition
impl Clone for ReadCondition
source§fn clone(&self) -> ReadCondition
fn clone(&self) -> ReadCondition
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ReadCondition
impl Debug for ReadCondition
source§impl PartialEq for ReadCondition
impl PartialEq for ReadCondition
source§fn eq(&self, other: &ReadCondition) -> bool
fn eq(&self, other: &ReadCondition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ReadCondition
impl Eq for ReadCondition
impl StructuralPartialEq for ReadCondition
Auto Trait Implementations§
impl Freeze for ReadCondition
impl RefUnwindSafe for ReadCondition
impl Send for ReadCondition
impl Sync for ReadCondition
impl Unpin for ReadCondition
impl UnwindSafe for ReadCondition
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