pub enum ResponseMessage {
Show 40 variants
OpenSecureChannel(Box<OpenSecureChannelResponse>),
CloseSecureChannel(Box<CloseSecureChannelResponse>),
GetEndpoints(Box<GetEndpointsResponse>),
FindServers(Box<FindServersResponse>),
FindServersOnNetwork(Box<FindServersOnNetworkResponse>),
RegisterServer(Box<RegisterServerResponse>),
RegisterServer2(Box<RegisterServer2Response>),
CreateSession(Box<CreateSessionResponse>),
CloseSession(Box<CloseSessionResponse>),
Cancel(Box<CancelResponse>),
ActivateSession(Box<ActivateSessionResponse>),
AddNodes(Box<AddNodesResponse>),
AddReferences(Box<AddReferencesResponse>),
DeleteNodes(Box<DeleteNodesResponse>),
DeleteReferences(Box<DeleteReferencesResponse>),
CreateMonitoredItems(Box<CreateMonitoredItemsResponse>),
ModifyMonitoredItems(Box<ModifyMonitoredItemsResponse>),
DeleteMonitoredItems(Box<DeleteMonitoredItemsResponse>),
SetMonitoringMode(Box<SetMonitoringModeResponse>),
SetTriggering(Box<SetTriggeringResponse>),
CreateSubscription(Box<CreateSubscriptionResponse>),
ModifySubscription(Box<ModifySubscriptionResponse>),
DeleteSubscriptions(Box<DeleteSubscriptionsResponse>),
TransferSubscriptions(Box<TransferSubscriptionsResponse>),
SetPublishingMode(Box<SetPublishingModeResponse>),
QueryFirst(Box<QueryFirstResponse>),
QueryNext(Box<QueryNextResponse>),
Browse(Box<BrowseResponse>),
BrowseNext(Box<BrowseNextResponse>),
Publish(Box<PublishResponse>),
Republish(Box<RepublishResponse>),
TranslateBrowsePathsToNodeIds(Box<TranslateBrowsePathsToNodeIdsResponse>),
RegisterNodes(Box<RegisterNodesResponse>),
UnregisterNodes(Box<UnregisterNodesResponse>),
Read(Box<ReadResponse>),
HistoryRead(Box<HistoryReadResponse>),
Write(Box<WriteResponse>),
HistoryUpdate(Box<HistoryUpdateResponse>),
Call(Box<CallResponse>),
ServiceFault(Box<ServiceFault>),
}Expand description
Enum of all possible response service messages.
Variants§
OpenSecureChannel(Box<OpenSecureChannelResponse>)
OpenSecureChannel
CloseSecureChannel(Box<CloseSecureChannelResponse>)
CloseSecureChannel
GetEndpoints(Box<GetEndpointsResponse>)
GetEndpoints
FindServers(Box<FindServersResponse>)
FindServers
FindServersOnNetwork(Box<FindServersOnNetworkResponse>)
FindServersOnNetwork
RegisterServer(Box<RegisterServerResponse>)
RegisterServer
RegisterServer2(Box<RegisterServer2Response>)
RegisterServer2
CreateSession(Box<CreateSessionResponse>)
CreateSession
CloseSession(Box<CloseSessionResponse>)
CloseSession
Cancel(Box<CancelResponse>)
Cancel
ActivateSession(Box<ActivateSessionResponse>)
ActivateSession
AddNodes(Box<AddNodesResponse>)
AddNodes
AddReferences(Box<AddReferencesResponse>)
AddReferences
DeleteNodes(Box<DeleteNodesResponse>)
DeleteNodes
DeleteReferences(Box<DeleteReferencesResponse>)
DeleteReferences
CreateMonitoredItems(Box<CreateMonitoredItemsResponse>)
CreateMonitoredItems
ModifyMonitoredItems(Box<ModifyMonitoredItemsResponse>)
ModifyMonitoredItems
DeleteMonitoredItems(Box<DeleteMonitoredItemsResponse>)
DeleteMonitoredItems
SetMonitoringMode(Box<SetMonitoringModeResponse>)
SetMonitoringMode
SetTriggering(Box<SetTriggeringResponse>)
SetTriggering
CreateSubscription(Box<CreateSubscriptionResponse>)
CreateSubscription
ModifySubscription(Box<ModifySubscriptionResponse>)
ModifySubscription
DeleteSubscriptions(Box<DeleteSubscriptionsResponse>)
DeleteSubscriptions
TransferSubscriptions(Box<TransferSubscriptionsResponse>)
TransferSubscriptions
SetPublishingMode(Box<SetPublishingModeResponse>)
SetPublishingMode
QueryFirst(Box<QueryFirstResponse>)
QueryFirst
QueryNext(Box<QueryNextResponse>)
QueryNext
Browse(Box<BrowseResponse>)
Browse
BrowseNext(Box<BrowseNextResponse>)
BrowseNext
Publish(Box<PublishResponse>)
Publish
Republish(Box<RepublishResponse>)
Republish
TranslateBrowsePathsToNodeIds(Box<TranslateBrowsePathsToNodeIdsResponse>)
TranslateBrowsePathsToNodeIds
RegisterNodes(Box<RegisterNodesResponse>)
RegisterNodes
UnregisterNodes(Box<UnregisterNodesResponse>)
UnregisterNodes
Read(Box<ReadResponse>)
Read
HistoryRead(Box<HistoryReadResponse>)
HistoryRead
Write(Box<WriteResponse>)
Write
HistoryUpdate(Box<HistoryUpdateResponse>)
HistoryUpdate
Call(Box<CallResponse>)
Call
ServiceFault(Box<ServiceFault>)
ServiceFault
Implementations§
Source§impl ResponseMessage
impl ResponseMessage
Sourcepub fn response_header(&self) -> &ResponseHeader
pub fn response_header(&self) -> &ResponseHeader
Get the response header.
Trait Implementations§
Source§impl BinaryEncodable for ResponseMessage
impl BinaryEncodable for ResponseMessage
Source§fn byte_len(&self, ctx: &Context<'_>) -> usize
fn byte_len(&self, ctx: &Context<'_>) -> usize
Returns the exact byte length of the structure as it would be if
encode were called.
This may be called prior to writing to ensure the correct amount of space is available.Source§fn encode<S: Write + ?Sized>(
&self,
stream: &mut S,
ctx: &Context<'_>,
) -> EncodingResult<()>
fn encode<S: Write + ?Sized>( &self, stream: &mut S, ctx: &Context<'_>, ) -> EncodingResult<()>
Encodes the instance to the write stream.
Source§fn override_encoding(&self) -> Option<BuiltInDataEncoding>
fn override_encoding(&self) -> Option<BuiltInDataEncoding>
Override the extension object encoding used for this type.
This only makes sense if the type can only ever be encoded using a single
built-in encoding.
Source§impl Clone for ResponseMessage
impl Clone for ResponseMessage
Source§fn clone(&self) -> ResponseMessage
fn clone(&self) -> ResponseMessage
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 ResponseMessage
impl Debug for ResponseMessage
Source§impl From<ActivateSessionResponse> for ResponseMessage
impl From<ActivateSessionResponse> for ResponseMessage
Source§fn from(value: ActivateSessionResponse) -> Self
fn from(value: ActivateSessionResponse) -> Self
Converts to this type from the input type.
Source§impl From<AddNodesResponse> for ResponseMessage
impl From<AddNodesResponse> for ResponseMessage
Source§fn from(value: AddNodesResponse) -> Self
fn from(value: AddNodesResponse) -> Self
Converts to this type from the input type.
Source§impl From<AddReferencesResponse> for ResponseMessage
impl From<AddReferencesResponse> for ResponseMessage
Source§fn from(value: AddReferencesResponse) -> Self
fn from(value: AddReferencesResponse) -> Self
Converts to this type from the input type.
Source§impl From<BrowseNextResponse> for ResponseMessage
impl From<BrowseNextResponse> for ResponseMessage
Source§fn from(value: BrowseNextResponse) -> Self
fn from(value: BrowseNextResponse) -> Self
Converts to this type from the input type.
Source§impl From<BrowseResponse> for ResponseMessage
impl From<BrowseResponse> for ResponseMessage
Source§fn from(value: BrowseResponse) -> Self
fn from(value: BrowseResponse) -> Self
Converts to this type from the input type.
Source§impl From<CallResponse> for ResponseMessage
impl From<CallResponse> for ResponseMessage
Source§fn from(value: CallResponse) -> Self
fn from(value: CallResponse) -> Self
Converts to this type from the input type.
Source§impl From<CancelResponse> for ResponseMessage
impl From<CancelResponse> for ResponseMessage
Source§fn from(value: CancelResponse) -> Self
fn from(value: CancelResponse) -> Self
Converts to this type from the input type.
Source§impl From<CloseSecureChannelResponse> for ResponseMessage
impl From<CloseSecureChannelResponse> for ResponseMessage
Source§fn from(value: CloseSecureChannelResponse) -> Self
fn from(value: CloseSecureChannelResponse) -> Self
Converts to this type from the input type.
Source§impl From<CloseSessionResponse> for ResponseMessage
impl From<CloseSessionResponse> for ResponseMessage
Source§fn from(value: CloseSessionResponse) -> Self
fn from(value: CloseSessionResponse) -> Self
Converts to this type from the input type.
Source§impl From<CreateMonitoredItemsResponse> for ResponseMessage
impl From<CreateMonitoredItemsResponse> for ResponseMessage
Source§fn from(value: CreateMonitoredItemsResponse) -> Self
fn from(value: CreateMonitoredItemsResponse) -> Self
Converts to this type from the input type.
Source§impl From<CreateSessionResponse> for ResponseMessage
impl From<CreateSessionResponse> for ResponseMessage
Source§fn from(value: CreateSessionResponse) -> Self
fn from(value: CreateSessionResponse) -> Self
Converts to this type from the input type.
Source§impl From<CreateSubscriptionResponse> for ResponseMessage
impl From<CreateSubscriptionResponse> for ResponseMessage
Source§fn from(value: CreateSubscriptionResponse) -> Self
fn from(value: CreateSubscriptionResponse) -> Self
Converts to this type from the input type.
Source§impl From<DeleteMonitoredItemsResponse> for ResponseMessage
impl From<DeleteMonitoredItemsResponse> for ResponseMessage
Source§fn from(value: DeleteMonitoredItemsResponse) -> Self
fn from(value: DeleteMonitoredItemsResponse) -> Self
Converts to this type from the input type.
Source§impl From<DeleteNodesResponse> for ResponseMessage
impl From<DeleteNodesResponse> for ResponseMessage
Source§fn from(value: DeleteNodesResponse) -> Self
fn from(value: DeleteNodesResponse) -> Self
Converts to this type from the input type.
Source§impl From<DeleteReferencesResponse> for ResponseMessage
impl From<DeleteReferencesResponse> for ResponseMessage
Source§fn from(value: DeleteReferencesResponse) -> Self
fn from(value: DeleteReferencesResponse) -> Self
Converts to this type from the input type.
Source§impl From<DeleteSubscriptionsResponse> for ResponseMessage
impl From<DeleteSubscriptionsResponse> for ResponseMessage
Source§fn from(value: DeleteSubscriptionsResponse) -> Self
fn from(value: DeleteSubscriptionsResponse) -> Self
Converts to this type from the input type.
Source§impl From<FindServersOnNetworkResponse> for ResponseMessage
impl From<FindServersOnNetworkResponse> for ResponseMessage
Source§fn from(value: FindServersOnNetworkResponse) -> Self
fn from(value: FindServersOnNetworkResponse) -> Self
Converts to this type from the input type.
Source§impl From<FindServersResponse> for ResponseMessage
impl From<FindServersResponse> for ResponseMessage
Source§fn from(value: FindServersResponse) -> Self
fn from(value: FindServersResponse) -> Self
Converts to this type from the input type.
Source§impl From<GetEndpointsResponse> for ResponseMessage
impl From<GetEndpointsResponse> for ResponseMessage
Source§fn from(value: GetEndpointsResponse) -> Self
fn from(value: GetEndpointsResponse) -> Self
Converts to this type from the input type.
Source§impl From<HistoryReadResponse> for ResponseMessage
impl From<HistoryReadResponse> for ResponseMessage
Source§fn from(value: HistoryReadResponse) -> Self
fn from(value: HistoryReadResponse) -> Self
Converts to this type from the input type.
Source§impl From<HistoryUpdateResponse> for ResponseMessage
impl From<HistoryUpdateResponse> for ResponseMessage
Source§fn from(value: HistoryUpdateResponse) -> Self
fn from(value: HistoryUpdateResponse) -> Self
Converts to this type from the input type.
Source§impl From<ModifyMonitoredItemsResponse> for ResponseMessage
impl From<ModifyMonitoredItemsResponse> for ResponseMessage
Source§fn from(value: ModifyMonitoredItemsResponse) -> Self
fn from(value: ModifyMonitoredItemsResponse) -> Self
Converts to this type from the input type.
Source§impl From<ModifySubscriptionResponse> for ResponseMessage
impl From<ModifySubscriptionResponse> for ResponseMessage
Source§fn from(value: ModifySubscriptionResponse) -> Self
fn from(value: ModifySubscriptionResponse) -> Self
Converts to this type from the input type.
Source§impl From<OpenSecureChannelResponse> for ResponseMessage
impl From<OpenSecureChannelResponse> for ResponseMessage
Source§fn from(value: OpenSecureChannelResponse) -> Self
fn from(value: OpenSecureChannelResponse) -> Self
Converts to this type from the input type.
Source§impl From<PublishResponse> for ResponseMessage
impl From<PublishResponse> for ResponseMessage
Source§fn from(value: PublishResponse) -> Self
fn from(value: PublishResponse) -> Self
Converts to this type from the input type.
Source§impl From<QueryFirstResponse> for ResponseMessage
impl From<QueryFirstResponse> for ResponseMessage
Source§fn from(value: QueryFirstResponse) -> Self
fn from(value: QueryFirstResponse) -> Self
Converts to this type from the input type.
Source§impl From<QueryNextResponse> for ResponseMessage
impl From<QueryNextResponse> for ResponseMessage
Source§fn from(value: QueryNextResponse) -> Self
fn from(value: QueryNextResponse) -> Self
Converts to this type from the input type.
Source§impl From<ReadResponse> for ResponseMessage
impl From<ReadResponse> for ResponseMessage
Source§fn from(value: ReadResponse) -> Self
fn from(value: ReadResponse) -> Self
Converts to this type from the input type.
Source§impl From<RegisterNodesResponse> for ResponseMessage
impl From<RegisterNodesResponse> for ResponseMessage
Source§fn from(value: RegisterNodesResponse) -> Self
fn from(value: RegisterNodesResponse) -> Self
Converts to this type from the input type.
Source§impl From<RegisterServer2Response> for ResponseMessage
impl From<RegisterServer2Response> for ResponseMessage
Source§fn from(value: RegisterServer2Response) -> Self
fn from(value: RegisterServer2Response) -> Self
Converts to this type from the input type.
Source§impl From<RegisterServerResponse> for ResponseMessage
impl From<RegisterServerResponse> for ResponseMessage
Source§fn from(value: RegisterServerResponse) -> Self
fn from(value: RegisterServerResponse) -> Self
Converts to this type from the input type.
Source§impl From<RepublishResponse> for ResponseMessage
impl From<RepublishResponse> for ResponseMessage
Source§fn from(value: RepublishResponse) -> Self
fn from(value: RepublishResponse) -> Self
Converts to this type from the input type.
Source§impl From<ServiceFault> for ResponseMessage
impl From<ServiceFault> for ResponseMessage
Source§fn from(value: ServiceFault) -> Self
fn from(value: ServiceFault) -> Self
Converts to this type from the input type.
Source§impl From<SetMonitoringModeResponse> for ResponseMessage
impl From<SetMonitoringModeResponse> for ResponseMessage
Source§fn from(value: SetMonitoringModeResponse) -> Self
fn from(value: SetMonitoringModeResponse) -> Self
Converts to this type from the input type.
Source§impl From<SetPublishingModeResponse> for ResponseMessage
impl From<SetPublishingModeResponse> for ResponseMessage
Source§fn from(value: SetPublishingModeResponse) -> Self
fn from(value: SetPublishingModeResponse) -> Self
Converts to this type from the input type.
Source§impl From<SetTriggeringResponse> for ResponseMessage
impl From<SetTriggeringResponse> for ResponseMessage
Source§fn from(value: SetTriggeringResponse) -> Self
fn from(value: SetTriggeringResponse) -> Self
Converts to this type from the input type.
Source§impl From<TransferSubscriptionsResponse> for ResponseMessage
impl From<TransferSubscriptionsResponse> for ResponseMessage
Source§fn from(value: TransferSubscriptionsResponse) -> Self
fn from(value: TransferSubscriptionsResponse) -> Self
Converts to this type from the input type.
Source§impl From<TranslateBrowsePathsToNodeIdsResponse> for ResponseMessage
impl From<TranslateBrowsePathsToNodeIdsResponse> for ResponseMessage
Source§fn from(value: TranslateBrowsePathsToNodeIdsResponse) -> Self
fn from(value: TranslateBrowsePathsToNodeIdsResponse) -> Self
Converts to this type from the input type.
Source§impl From<UnregisterNodesResponse> for ResponseMessage
impl From<UnregisterNodesResponse> for ResponseMessage
Source§fn from(value: UnregisterNodesResponse) -> Self
fn from(value: UnregisterNodesResponse) -> Self
Converts to this type from the input type.
Source§impl From<WriteResponse> for ResponseMessage
impl From<WriteResponse> for ResponseMessage
Source§fn from(value: WriteResponse) -> Self
fn from(value: WriteResponse) -> Self
Converts to this type from the input type.
Source§impl Message for ResponseMessage
impl Message for ResponseMessage
Source§impl MessageType for ResponseMessage
impl MessageType for ResponseMessage
Source§fn message_type(&self) -> MessageChunkType
fn message_type(&self) -> MessageChunkType
Get the message chunk type.
Source§impl PartialEq for ResponseMessage
impl PartialEq for ResponseMessage
impl StructuralPartialEq for ResponseMessage
Auto Trait Implementations§
impl Freeze for ResponseMessage
impl !RefUnwindSafe for ResponseMessage
impl Send for ResponseMessage
impl Sync for ResponseMessage
impl Unpin for ResponseMessage
impl UnsafeUnpin for ResponseMessage
impl !UnwindSafe for ResponseMessage
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