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