pub struct MonitoredItem { /* private fields */ }
Expand description
Client-side representation of a monitored item.
Implementations§
Source§impl MonitoredItem
impl MonitoredItem
Sourcepub fn new(client_handle: u32) -> MonitoredItem
pub fn new(client_handle: u32) -> MonitoredItem
Create a new monitored item.
Sourcepub fn client_handle(&self) -> u32
pub fn client_handle(&self) -> u32
Client assigned handle for the monitored item.
Sourcepub fn item_to_monitor(&self) -> &ReadValueId
pub fn item_to_monitor(&self) -> &ReadValueId
Attribute and node ID for the item the monitored item receives notifications for.
Sourcepub fn sampling_interval(&self) -> f64
pub fn sampling_interval(&self) -> f64
Sampling interval.
Sourcepub fn queue_size(&self) -> usize
pub fn queue_size(&self) -> usize
Queue size on the server.
Sourcepub fn discard_oldest(&self) -> bool
pub fn discard_oldest(&self) -> bool
Whether the oldest values are discarded on queue overflow on the server.
Trait Implementations§
Source§impl Clone for MonitoredItem
impl Clone for MonitoredItem
Source§fn clone(&self) -> MonitoredItem
fn clone(&self) -> MonitoredItem
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for MonitoredItem
impl !RefUnwindSafe for MonitoredItem
impl Send for MonitoredItem
impl Sync for MonitoredItem
impl Unpin for MonitoredItem
impl !UnwindSafe for MonitoredItem
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