pub struct SubscriptionDataNotifierBatch<'a> { /* private fields */ }Expand description
Notifier for a specific node.
Implementations§
Source§impl<'a> SubscriptionDataNotifierBatch<'a>
impl<'a> SubscriptionDataNotifierBatch<'a>
Sourcepub fn data_value(&mut self, value: impl Into<DataValue>)
pub fn data_value(&mut self, value: impl Into<DataValue>)
Notify the referenced node of a change in value by providing a DataValue.
Sourcepub fn data_value_to_item(
&mut self,
value: impl Into<DataValue>,
handle: &MonitoredItemHandle,
)
pub fn data_value_to_item( &mut self, value: impl Into<DataValue>, handle: &MonitoredItemHandle, )
Submit a data value to a specific monitored item.
Sourcepub fn value(&mut self, value: impl Into<Variant>, source_timestamp: DateTime)
pub fn value(&mut self, value: impl Into<Variant>, source_timestamp: DateTime)
Notify the referenced node of a change in value by providing a Variant and source timestamp.
Sourcepub fn entries<'b>(
&'b self,
) -> impl Iterator<Item = (&'a MonitoredItemHandle, &'a MonitoredItemEntry)> + 'a
pub fn entries<'b>( &'b self, ) -> impl Iterator<Item = (&'a MonitoredItemHandle, &'a MonitoredItemEntry)> + 'a
Get an iterator over the matched monitored item entries. This can be used to conditionally sample using parameters for each monitored item.
This only returns monitored item entries that are enabled.
Auto Trait Implementations§
impl<'a> Freeze for SubscriptionDataNotifierBatch<'a>
impl<'a> !RefUnwindSafe for SubscriptionDataNotifierBatch<'a>
impl<'a> Send for SubscriptionDataNotifierBatch<'a>
impl<'a> Sync for SubscriptionDataNotifierBatch<'a>
impl<'a> Unpin for SubscriptionDataNotifierBatch<'a>
impl<'a> UnsafeUnpin for SubscriptionDataNotifierBatch<'a>
impl<'a> !UnwindSafe for SubscriptionDataNotifierBatch<'a>
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