pub struct ReadCondition { /* private fields */ }Expand description
A condition on the samples of a reader (DDS 1.4, 2.2.2.5.8): true
while the reader has a sample whose states pass its filter. Made with
DataReader::create_readcondition; reading or taking with
DataReader::read_w_condition or take_w_condition selects the same
samples.
Clones are the same condition.
Implementations§
Source§impl ReadCondition
impl ReadCondition
Sourcepub fn filter(&self) -> StateFilter
pub fn filter(&self) -> StateFilter
The states of the samples it is true for (get_sample_state_mask,
get_view_state_mask and get_instance_state_mask).
Sourcepub fn trigger_value(&self) -> bool
pub fn trigger_value(&self) -> bool
The trigger value (get_trigger_value).
Trait Implementations§
Source§impl Clone for ReadCondition
impl Clone for ReadCondition
Source§impl Debug for ReadCondition
impl Debug for ReadCondition
Source§impl From<&ReadCondition> for Condition
impl From<&ReadCondition> for Condition
Source§fn from(c: &ReadCondition) -> Condition
fn from(c: &ReadCondition) -> Condition
Converts to this type from the input type.
Source§impl From<ReadCondition> for Condition
impl From<ReadCondition> for Condition
Source§fn from(c: ReadCondition) -> Condition
fn from(c: ReadCondition) -> Condition
Converts to this type from the input type.
Source§impl PartialEq for ReadCondition
impl PartialEq for ReadCondition
Auto Trait Implementations§
impl !RefUnwindSafe for ReadCondition
impl !UnwindSafe for ReadCondition
impl Forget for ReadCondition
impl Freeze for ReadConditionwhere
*const ArcInner<Shared> is !null: Freeze,
PhantomData<ArcInner<Shared>>: Freeze,
*const ArcInner<()> is !null: Freeze,
PhantomData<ArcInner<()>>: Freeze,
impl Move for ReadCondition
impl Send for ReadCondition
impl Sync for ReadCondition
impl Unpin for ReadCondition
impl UnsafeUnpin for ReadConditionwhere
*const ArcInner<Shared> is !null: UnsafeUnpin,
PhantomData<ArcInner<Shared>>: UnsafeUnpin,
*const ArcInner<()> is !null: UnsafeUnpin,
PhantomData<ArcInner<()>>: UnsafeUnpin,
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