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