Enum opcua_server::prelude::SupportedMessage [−][src]
pub enum SupportedMessage {
Show 79 variants
Invalid(ObjectId),
AcknowledgeMessage(Box<AcknowledgeMessage, Global>),
ServiceFault(Box<ServiceFault, Global>),
OpenSecureChannelRequest(Box<OpenSecureChannelRequest, Global>),
OpenSecureChannelResponse(Box<OpenSecureChannelResponse, Global>),
CloseSecureChannelRequest(Box<CloseSecureChannelRequest, Global>),
CloseSecureChannelResponse(Box<CloseSecureChannelResponse, Global>),
GetEndpointsRequest(Box<GetEndpointsRequest, Global>),
GetEndpointsResponse(Box<GetEndpointsResponse, Global>),
FindServersRequest(Box<FindServersRequest, Global>),
FindServersResponse(Box<FindServersResponse, Global>),
RegisterServerRequest(Box<RegisterServerRequest, Global>),
RegisterServerResponse(Box<RegisterServerResponse, Global>),
RegisterServer2Request(Box<RegisterServer2Request, Global>),
RegisterServer2Response(Box<RegisterServer2Response, Global>),
CreateSessionRequest(Box<CreateSessionRequest, Global>),
CreateSessionResponse(Box<CreateSessionResponse, Global>),
CloseSessionRequest(Box<CloseSessionRequest, Global>),
CloseSessionResponse(Box<CloseSessionResponse, Global>),
CancelRequest(Box<CancelRequest, Global>),
CancelResponse(Box<CancelResponse, Global>),
ActivateSessionRequest(Box<ActivateSessionRequest, Global>),
ActivateSessionResponse(Box<ActivateSessionResponse, Global>),
AddNodesRequest(Box<AddNodesRequest, Global>),
AddNodesResponse(Box<AddNodesResponse, Global>),
AddReferencesRequest(Box<AddReferencesRequest, Global>),
AddReferencesResponse(Box<AddReferencesResponse, Global>),
DeleteNodesRequest(Box<DeleteNodesRequest, Global>),
DeleteNodesResponse(Box<DeleteNodesResponse, Global>),
DeleteReferencesRequest(Box<DeleteReferencesRequest, Global>),
DeleteReferencesResponse(Box<DeleteReferencesResponse, Global>),
CreateMonitoredItemsRequest(Box<CreateMonitoredItemsRequest, Global>),
CreateMonitoredItemsResponse(Box<CreateMonitoredItemsResponse, Global>),
ModifyMonitoredItemsRequest(Box<ModifyMonitoredItemsRequest, Global>),
ModifyMonitoredItemsResponse(Box<ModifyMonitoredItemsResponse, Global>),
DeleteMonitoredItemsRequest(Box<DeleteMonitoredItemsRequest, Global>),
DeleteMonitoredItemsResponse(Box<DeleteMonitoredItemsResponse, Global>),
SetMonitoringModeRequest(Box<SetMonitoringModeRequest, Global>),
SetMonitoringModeResponse(Box<SetMonitoringModeResponse, Global>),
SetTriggeringRequest(Box<SetTriggeringRequest, Global>),
SetTriggeringResponse(Box<SetTriggeringResponse, Global>),
CreateSubscriptionRequest(Box<CreateSubscriptionRequest, Global>),
CreateSubscriptionResponse(Box<CreateSubscriptionResponse, Global>),
ModifySubscriptionRequest(Box<ModifySubscriptionRequest, Global>),
ModifySubscriptionResponse(Box<ModifySubscriptionResponse, Global>),
DeleteSubscriptionsRequest(Box<DeleteSubscriptionsRequest, Global>),
DeleteSubscriptionsResponse(Box<DeleteSubscriptionsResponse, Global>),
TransferSubscriptionsRequest(Box<TransferSubscriptionsRequest, Global>),
TransferSubscriptionsResponse(Box<TransferSubscriptionsResponse, Global>),
SetPublishingModeRequest(Box<SetPublishingModeRequest, Global>),
SetPublishingModeResponse(Box<SetPublishingModeResponse, Global>),
QueryFirstRequest(Box<QueryFirstRequest, Global>),
QueryFirstResponse(Box<QueryFirstResponse, Global>),
QueryNextRequest(Box<QueryNextRequest, Global>),
QueryNextResponse(Box<QueryNextResponse, Global>),
BrowseRequest(Box<BrowseRequest, Global>),
BrowseResponse(Box<BrowseResponse, Global>),
BrowseNextRequest(Box<BrowseNextRequest, Global>),
BrowseNextResponse(Box<BrowseNextResponse, Global>),
PublishRequest(Box<PublishRequest, Global>),
PublishResponse(Box<PublishResponse, Global>),
RepublishRequest(Box<RepublishRequest, Global>),
RepublishResponse(Box<RepublishResponse, Global>),
TranslateBrowsePathsToNodeIdsRequest(Box<TranslateBrowsePathsToNodeIdsRequest, Global>),
TranslateBrowsePathsToNodeIdsResponse(Box<TranslateBrowsePathsToNodeIdsResponse, Global>),
RegisterNodesRequest(Box<RegisterNodesRequest, Global>),
RegisterNodesResponse(Box<RegisterNodesResponse, Global>),
UnregisterNodesRequest(Box<UnregisterNodesRequest, Global>),
UnregisterNodesResponse(Box<UnregisterNodesResponse, Global>),
ReadRequest(Box<ReadRequest, Global>),
ReadResponse(Box<ReadResponse, Global>),
HistoryReadRequest(Box<HistoryReadRequest, Global>),
HistoryReadResponse(Box<HistoryReadResponse, Global>),
WriteRequest(Box<WriteRequest, Global>),
WriteResponse(Box<WriteResponse, Global>),
HistoryUpdateRequest(Box<HistoryUpdateRequest, Global>),
HistoryUpdateResponse(Box<HistoryUpdateResponse, Global>),
CallRequest(Box<CallRequest, Global>),
CallResponse(Box<CallResponse, Global>),
}Variants
Invalid(ObjectId)An invalid request / response of some form
AcknowledgeMessage(Box<AcknowledgeMessage, Global>)Acknowledge message
ServiceFault(Box<ServiceFault, Global>)Other messages
OpenSecureChannelRequest(Box<OpenSecureChannelRequest, Global>)OpenSecureChannelResponse(Box<OpenSecureChannelResponse, Global>)CloseSecureChannelRequest(Box<CloseSecureChannelRequest, Global>)CloseSecureChannelResponse(Box<CloseSecureChannelResponse, Global>)GetEndpointsRequest(Box<GetEndpointsRequest, Global>)GetEndpointsResponse(Box<GetEndpointsResponse, Global>)FindServersRequest(Box<FindServersRequest, Global>)FindServersResponse(Box<FindServersResponse, Global>)RegisterServerRequest(Box<RegisterServerRequest, Global>)RegisterServerResponse(Box<RegisterServerResponse, Global>)RegisterServer2Request(Box<RegisterServer2Request, Global>)RegisterServer2Response(Box<RegisterServer2Response, Global>)CreateSessionRequest(Box<CreateSessionRequest, Global>)CreateSessionResponse(Box<CreateSessionResponse, Global>)CloseSessionRequest(Box<CloseSessionRequest, Global>)CloseSessionResponse(Box<CloseSessionResponse, Global>)CancelRequest(Box<CancelRequest, Global>)CancelResponse(Box<CancelResponse, Global>)ActivateSessionRequest(Box<ActivateSessionRequest, Global>)ActivateSessionResponse(Box<ActivateSessionResponse, Global>)AddNodesRequest(Box<AddNodesRequest, Global>)AddNodesResponse(Box<AddNodesResponse, Global>)AddReferencesRequest(Box<AddReferencesRequest, Global>)AddReferencesResponse(Box<AddReferencesResponse, Global>)DeleteNodesRequest(Box<DeleteNodesRequest, Global>)DeleteNodesResponse(Box<DeleteNodesResponse, Global>)DeleteReferencesRequest(Box<DeleteReferencesRequest, Global>)DeleteReferencesResponse(Box<DeleteReferencesResponse, Global>)CreateMonitoredItemsRequest(Box<CreateMonitoredItemsRequest, Global>)CreateMonitoredItemsResponse(Box<CreateMonitoredItemsResponse, Global>)ModifyMonitoredItemsRequest(Box<ModifyMonitoredItemsRequest, Global>)ModifyMonitoredItemsResponse(Box<ModifyMonitoredItemsResponse, Global>)DeleteMonitoredItemsRequest(Box<DeleteMonitoredItemsRequest, Global>)DeleteMonitoredItemsResponse(Box<DeleteMonitoredItemsResponse, Global>)SetMonitoringModeRequest(Box<SetMonitoringModeRequest, Global>)SetMonitoringModeResponse(Box<SetMonitoringModeResponse, Global>)SetTriggeringRequest(Box<SetTriggeringRequest, Global>)SetTriggeringResponse(Box<SetTriggeringResponse, Global>)CreateSubscriptionRequest(Box<CreateSubscriptionRequest, Global>)CreateSubscriptionResponse(Box<CreateSubscriptionResponse, Global>)ModifySubscriptionRequest(Box<ModifySubscriptionRequest, Global>)ModifySubscriptionResponse(Box<ModifySubscriptionResponse, Global>)DeleteSubscriptionsRequest(Box<DeleteSubscriptionsRequest, Global>)DeleteSubscriptionsResponse(Box<DeleteSubscriptionsResponse, Global>)TransferSubscriptionsRequest(Box<TransferSubscriptionsRequest, Global>)TransferSubscriptionsResponse(Box<TransferSubscriptionsResponse, Global>)SetPublishingModeRequest(Box<SetPublishingModeRequest, Global>)SetPublishingModeResponse(Box<SetPublishingModeResponse, Global>)QueryFirstRequest(Box<QueryFirstRequest, Global>)QueryFirstResponse(Box<QueryFirstResponse, Global>)QueryNextRequest(Box<QueryNextRequest, Global>)QueryNextResponse(Box<QueryNextResponse, Global>)BrowseRequest(Box<BrowseRequest, Global>)BrowseResponse(Box<BrowseResponse, Global>)BrowseNextRequest(Box<BrowseNextRequest, Global>)BrowseNextResponse(Box<BrowseNextResponse, Global>)PublishRequest(Box<PublishRequest, Global>)PublishResponse(Box<PublishResponse, Global>)RepublishRequest(Box<RepublishRequest, Global>)RepublishResponse(Box<RepublishResponse, Global>)TranslateBrowsePathsToNodeIdsRequest(Box<TranslateBrowsePathsToNodeIdsRequest, Global>)TranslateBrowsePathsToNodeIdsResponse(Box<TranslateBrowsePathsToNodeIdsResponse, Global>)RegisterNodesRequest(Box<RegisterNodesRequest, Global>)RegisterNodesResponse(Box<RegisterNodesResponse, Global>)UnregisterNodesRequest(Box<UnregisterNodesRequest, Global>)UnregisterNodesResponse(Box<UnregisterNodesResponse, Global>)ReadRequest(Box<ReadRequest, Global>)ReadResponse(Box<ReadResponse, Global>)HistoryReadRequest(Box<HistoryReadRequest, Global>)HistoryReadResponse(Box<HistoryReadResponse, Global>)WriteRequest(Box<WriteRequest, Global>)WriteResponse(Box<WriteResponse, Global>)HistoryUpdateRequest(Box<HistoryUpdateRequest, Global>)HistoryUpdateResponse(Box<HistoryUpdateResponse, Global>)CallRequest(Box<CallRequest, Global>)CallResponse(Box<CallResponse, Global>)Implementations
pub fn decode_by_object_id<S>(
stream: &mut S,
object_id: ObjectId,
decoding_limits: &DecodingLimits
) -> Result<SupportedMessage, StatusCode> where
S: Read,
Trait Implementations
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. Read more
Encodes the instance to the write stream.
pub fn decode<S>(
&mut S,
&DecodingLimits
) -> Result<SupportedMessage, StatusCode> where
S: Read,
pub fn decode<S>(
&mut S,
&DecodingLimits
) -> Result<SupportedMessage, StatusCode> where
S: Read,
Decodes an instance from the read stream. The decoding limits are restrictions set by the server / client
on the length of strings, arrays etc. If these limits are exceeded the implementation should
return with a BadDecodingError as soon as possible. Read more
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for SupportedMessage
impl Send for SupportedMessage
impl Sync for SupportedMessage
impl Unpin for SupportedMessage
impl UnwindSafe for SupportedMessage
Blanket Implementations
Mutably borrows from an owned value. Read more