pub struct MonitoredDataChanges<'a> { /* private fields */ }Expand description
One OPC UA subscription monitoring multiple Value attributes on the original session. Drop requests deletion of all items and the subscription. A loss on any item ends the group. Use a dedicated sequenced stream when you need retransmission or per-message provenance.
Implementations§
Source§impl MonitoredDataChanges<'_>
impl MonitoredDataChanges<'_>
Sourcepub fn items(&self) -> &[MonitoredNode]
pub fn items(&self) -> &[MonitoredNode]
Monitored identities and revised parameters in original input order.
Sourcepub const fn publishing_interval(&self) -> Duration
pub const fn publishing_interval(&self) -> Duration
Revised interval shared by this subscription.
Sourcepub async fn next(
&mut self,
wait: Duration,
) -> Result<DataChange, SubscriptionError>
pub async fn next( &mut self, wait: Duration, ) -> Result<DataChange, SubscriptionError>
Wait for one indexed DataValue, including its status and original clocks. A timeout is retryable. An overflow, invalidated session or closed subscription terminates delivery. A cancelled wait retains any notification dequeued before cancellation.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for MonitoredDataChanges<'a>
impl<'a> !UnwindSafe for MonitoredDataChanges<'a>
impl<'a> Forget for MonitoredDataChanges<'a>
impl<'a> Freeze for MonitoredDataChanges<'a>
impl<'a> Move for MonitoredDataChanges<'a>
impl<'a> Send for MonitoredDataChanges<'a>
impl<'a> Sync for MonitoredDataChanges<'a>
impl<'a> Unpin for MonitoredDataChanges<'a>
impl<'a> UnsafeUnpin for MonitoredDataChanges<'a>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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