pub struct DeleteMonitoredItems { /* private fields */ }Expand description
Deletes monitored items from a subscription by sending a DeleteMonitoredItemsRequest to the server.
See OPC UA Part 4 - Services 5.12.6 for complete description of the service and error responses.
Implementations§
Source§impl DeleteMonitoredItems
impl DeleteMonitoredItems
Sourcepub fn diagnostics(self, bits: DiagnosticBits) -> DeleteMonitoredItems
pub fn diagnostics(self, bits: DiagnosticBits) -> DeleteMonitoredItems
Set requested diagnostic bits.
Sourcepub fn timeout(self, timeout: Duration) -> DeleteMonitoredItems
pub fn timeout(self, timeout: Duration) -> DeleteMonitoredItems
Set the timeout for this request. Defaults to session timeout.
Sourcepub fn audit_entry_id(self, entry: impl Into<UAString>) -> DeleteMonitoredItems
pub fn audit_entry_id(self, entry: impl Into<UAString>) -> DeleteMonitoredItems
Set the audit entry ID for the request.
Sourcepub fn header(&self) -> &RequestHeader
pub fn header(&self) -> &RequestHeader
Get the request header.
Source§impl DeleteMonitoredItems
impl DeleteMonitoredItems
Sourcepub fn new(subscription_id: u32, session: &Session) -> DeleteMonitoredItems
pub fn new(subscription_id: u32, session: &Session) -> DeleteMonitoredItems
Construct a new call to the DeleteMonitoredItems service.
Sourcepub fn new_manual(
subscription_id: u32,
session_id: u32,
timeout: Duration,
auth_token: NodeId,
request_handle: u32,
) -> DeleteMonitoredItems
pub fn new_manual( subscription_id: u32, session_id: u32, timeout: Duration, auth_token: NodeId, request_handle: u32, ) -> DeleteMonitoredItems
Construct a new call to the DeleteMonitoredItems service, setting header parameters manually.
Sourcepub fn items_to_delete(self, items_to_delete: Vec<u32>) -> DeleteMonitoredItems
pub fn items_to_delete(self, items_to_delete: Vec<u32>) -> DeleteMonitoredItems
Set the items to delete, overwriting any that were added previously.
Sourcepub fn item(self, item: u32) -> DeleteMonitoredItems
pub fn item(self, item: u32) -> DeleteMonitoredItems
Add a new item to delete.
Trait Implementations§
Source§impl Clone for DeleteMonitoredItems
impl Clone for DeleteMonitoredItems
Source§fn clone(&self) -> DeleteMonitoredItems
fn clone(&self) -> DeleteMonitoredItems
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 moreSource§impl UARequest for DeleteMonitoredItems
impl UARequest for DeleteMonitoredItems
Source§type Out = DeleteMonitoredItemsResponse
type Out = DeleteMonitoredItemsResponse
Response message type.
Source§async fn send<'a>(
self,
channel: &'a AsyncSecureChannel,
) -> Result<<DeleteMonitoredItems as UARequest>::Out, StatusCode>where
DeleteMonitoredItems: 'a,
async fn send<'a>(
self,
channel: &'a AsyncSecureChannel,
) -> Result<<DeleteMonitoredItems as UARequest>::Out, StatusCode>where
DeleteMonitoredItems: 'a,
Send the message and wait for a response.
Auto Trait Implementations§
impl Freeze for DeleteMonitoredItems
impl !RefUnwindSafe for DeleteMonitoredItems
impl Send for DeleteMonitoredItems
impl Sync for DeleteMonitoredItems
impl Unpin for DeleteMonitoredItems
impl UnsafeUnpin for DeleteMonitoredItems
impl !UnwindSafe for DeleteMonitoredItems
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