Enum opcua_server::prelude::SupportedMessage
source · pub enum SupportedMessage {
Show 51 variants
Invalid(ObjectId),
AcknowledgeMessage(AcknowledgeMessage),
ServiceFault(ServiceFault),
OpenSecureChannelRequest(OpenSecureChannelRequest),
OpenSecureChannelResponse(OpenSecureChannelResponse),
CloseSecureChannelRequest(CloseSecureChannelRequest),
CloseSecureChannelResponse(CloseSecureChannelResponse),
CancelRequest(CancelRequest),
CancelResponse(CancelResponse),
GetEndpointsRequest(GetEndpointsRequest),
GetEndpointsResponse(GetEndpointsResponse),
FindServersRequest(FindServersRequest),
FindServersResponse(FindServersResponse),
RegisterServerRequest(RegisterServerRequest),
RegisterServerResponse(RegisterServerResponse),
CreateSessionRequest(CreateSessionRequest),
CreateSessionResponse(CreateSessionResponse),
CloseSessionRequest(CloseSessionRequest),
CloseSessionResponse(CloseSessionResponse),
ActivateSessionRequest(ActivateSessionRequest),
ActivateSessionResponse(ActivateSessionResponse),
CreateMonitoredItemsRequest(CreateMonitoredItemsRequest),
CreateMonitoredItemsResponse(CreateMonitoredItemsResponse),
ModifyMonitoredItemsRequest(ModifyMonitoredItemsRequest),
ModifyMonitoredItemsResponse(ModifyMonitoredItemsResponse),
DeleteMonitoredItemsRequest(DeleteMonitoredItemsRequest),
DeleteMonitoredItemsResponse(DeleteMonitoredItemsResponse),
CreateSubscriptionRequest(CreateSubscriptionRequest),
CreateSubscriptionResponse(CreateSubscriptionResponse),
ModifySubscriptionRequest(ModifySubscriptionRequest),
ModifySubscriptionResponse(ModifySubscriptionResponse),
DeleteSubscriptionsRequest(DeleteSubscriptionsRequest),
DeleteSubscriptionsResponse(DeleteSubscriptionsResponse),
SetPublishingModeRequest(SetPublishingModeRequest),
SetPublishingModeResponse(SetPublishingModeResponse),
BrowseRequest(BrowseRequest),
BrowseResponse(BrowseResponse),
BrowseNextRequest(BrowseNextRequest),
BrowseNextResponse(BrowseNextResponse),
PublishRequest(PublishRequest),
PublishResponse(PublishResponse),
RepublishRequest(RepublishRequest),
RepublishResponse(RepublishResponse),
TranslateBrowsePathsToNodeIdsRequest(TranslateBrowsePathsToNodeIdsRequest),
TranslateBrowsePathsToNodeIdsResponse(TranslateBrowsePathsToNodeIdsResponse),
ReadRequest(ReadRequest),
ReadResponse(ReadResponse),
WriteRequest(WriteRequest),
WriteResponse(WriteResponse),
CallRequest(CallRequest),
CallResponse(CallResponse),
}Variants§
Invalid(ObjectId)
An invalid request / response of some form
AcknowledgeMessage(AcknowledgeMessage)
Acknowledge message
ServiceFault(ServiceFault)
Other messages
OpenSecureChannelRequest(OpenSecureChannelRequest)
OpenSecureChannelResponse(OpenSecureChannelResponse)
CloseSecureChannelRequest(CloseSecureChannelRequest)
CloseSecureChannelResponse(CloseSecureChannelResponse)
CancelRequest(CancelRequest)
CancelResponse(CancelResponse)
GetEndpointsRequest(GetEndpointsRequest)
GetEndpointsResponse(GetEndpointsResponse)
FindServersRequest(FindServersRequest)
FindServersResponse(FindServersResponse)
RegisterServerRequest(RegisterServerRequest)
RegisterServerResponse(RegisterServerResponse)
CreateSessionRequest(CreateSessionRequest)
CreateSessionResponse(CreateSessionResponse)
CloseSessionRequest(CloseSessionRequest)
CloseSessionResponse(CloseSessionResponse)
ActivateSessionRequest(ActivateSessionRequest)
ActivateSessionResponse(ActivateSessionResponse)
CreateMonitoredItemsRequest(CreateMonitoredItemsRequest)
CreateMonitoredItemsResponse(CreateMonitoredItemsResponse)
ModifyMonitoredItemsRequest(ModifyMonitoredItemsRequest)
ModifyMonitoredItemsResponse(ModifyMonitoredItemsResponse)
DeleteMonitoredItemsRequest(DeleteMonitoredItemsRequest)
DeleteMonitoredItemsResponse(DeleteMonitoredItemsResponse)
CreateSubscriptionRequest(CreateSubscriptionRequest)
CreateSubscriptionResponse(CreateSubscriptionResponse)
ModifySubscriptionRequest(ModifySubscriptionRequest)
ModifySubscriptionResponse(ModifySubscriptionResponse)
DeleteSubscriptionsRequest(DeleteSubscriptionsRequest)
DeleteSubscriptionsResponse(DeleteSubscriptionsResponse)
SetPublishingModeRequest(SetPublishingModeRequest)
SetPublishingModeResponse(SetPublishingModeResponse)
BrowseRequest(BrowseRequest)
BrowseResponse(BrowseResponse)
BrowseNextRequest(BrowseNextRequest)
BrowseNextResponse(BrowseNextResponse)
PublishRequest(PublishRequest)
PublishResponse(PublishResponse)
RepublishRequest(RepublishRequest)
RepublishResponse(RepublishResponse)
TranslateBrowsePathsToNodeIdsRequest(TranslateBrowsePathsToNodeIdsRequest)
TranslateBrowsePathsToNodeIdsResponse(TranslateBrowsePathsToNodeIdsResponse)
ReadRequest(ReadRequest)
ReadResponse(ReadResponse)
WriteRequest(WriteRequest)
WriteResponse(WriteResponse)
CallRequest(CallRequest)
CallResponse(CallResponse)
Implementations§
source§impl SupportedMessage
impl SupportedMessage
pub fn request_handle(&self) -> u32
pub fn decode_by_object_id<S>(
stream: &mut S,
object_id: ObjectId,
decoding_limits: &DecodingLimits
) -> Result<SupportedMessage, StatusCode>where
S: Read,
Trait Implementations§
source§impl BinaryEncoder<SupportedMessage> for SupportedMessage
impl BinaryEncoder<SupportedMessage> for SupportedMessage
source§fn byte_len(&self) -> usize
fn byte_len(&self) -> usize
Returns the byte length of the structure. This calculation should be exact and as efficient
as possible. Read more
source§fn encode<S>(&self, stream: &mut S) -> Result<usize, StatusCode>where
S: Write,
fn encode<S>(&self, stream: &mut S) -> Result<usize, StatusCode>where
S: Write,
Encodes the instance to the write stream.
source§fn decode<S>(
_: &mut S,
_: &DecodingLimits
) -> Result<SupportedMessage, StatusCode>where
S: Read,
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 morefn to_vec(&self) -> Vec<u8, Global> ⓘ
source§impl Clone for SupportedMessage
impl Clone for SupportedMessage
source§fn clone(&self) -> SupportedMessage
fn clone(&self) -> SupportedMessage
Returns a copy 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 SupportedMessage
impl Debug for SupportedMessage
source§impl Into<SupportedMessage> for ActivateSessionRequest
impl Into<SupportedMessage> for ActivateSessionRequest
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for ActivateSessionResponse
impl Into<SupportedMessage> for ActivateSessionResponse
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for BrowseNextRequest
impl Into<SupportedMessage> for BrowseNextRequest
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for BrowseNextResponse
impl Into<SupportedMessage> for BrowseNextResponse
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for BrowseRequest
impl Into<SupportedMessage> for BrowseRequest
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for BrowseResponse
impl Into<SupportedMessage> for BrowseResponse
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for CallRequest
impl Into<SupportedMessage> for CallRequest
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for CallResponse
impl Into<SupportedMessage> for CallResponse
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for CancelRequest
impl Into<SupportedMessage> for CancelRequest
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for CancelResponse
impl Into<SupportedMessage> for CancelResponse
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for CloseSecureChannelRequest
impl Into<SupportedMessage> for CloseSecureChannelRequest
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for CloseSecureChannelResponse
impl Into<SupportedMessage> for CloseSecureChannelResponse
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for CloseSessionRequest
impl Into<SupportedMessage> for CloseSessionRequest
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for CloseSessionResponse
impl Into<SupportedMessage> for CloseSessionResponse
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for CreateMonitoredItemsRequest
impl Into<SupportedMessage> for CreateMonitoredItemsRequest
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for CreateMonitoredItemsResponse
impl Into<SupportedMessage> for CreateMonitoredItemsResponse
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for CreateSessionRequest
impl Into<SupportedMessage> for CreateSessionRequest
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for CreateSessionResponse
impl Into<SupportedMessage> for CreateSessionResponse
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for CreateSubscriptionRequest
impl Into<SupportedMessage> for CreateSubscriptionRequest
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for CreateSubscriptionResponse
impl Into<SupportedMessage> for CreateSubscriptionResponse
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for DeleteMonitoredItemsRequest
impl Into<SupportedMessage> for DeleteMonitoredItemsRequest
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for DeleteMonitoredItemsResponse
impl Into<SupportedMessage> for DeleteMonitoredItemsResponse
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for DeleteSubscriptionsRequest
impl Into<SupportedMessage> for DeleteSubscriptionsRequest
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for DeleteSubscriptionsResponse
impl Into<SupportedMessage> for DeleteSubscriptionsResponse
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for FindServersRequest
impl Into<SupportedMessage> for FindServersRequest
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for FindServersResponse
impl Into<SupportedMessage> for FindServersResponse
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for GetEndpointsRequest
impl Into<SupportedMessage> for GetEndpointsRequest
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for GetEndpointsResponse
impl Into<SupportedMessage> for GetEndpointsResponse
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for ModifyMonitoredItemsRequest
impl Into<SupportedMessage> for ModifyMonitoredItemsRequest
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for ModifyMonitoredItemsResponse
impl Into<SupportedMessage> for ModifyMonitoredItemsResponse
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for ModifySubscriptionRequest
impl Into<SupportedMessage> for ModifySubscriptionRequest
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for ModifySubscriptionResponse
impl Into<SupportedMessage> for ModifySubscriptionResponse
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for OpenSecureChannelRequest
impl Into<SupportedMessage> for OpenSecureChannelRequest
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for OpenSecureChannelResponse
impl Into<SupportedMessage> for OpenSecureChannelResponse
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for PublishRequest
impl Into<SupportedMessage> for PublishRequest
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for PublishResponse
impl Into<SupportedMessage> for PublishResponse
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for ReadRequest
impl Into<SupportedMessage> for ReadRequest
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for ReadResponse
impl Into<SupportedMessage> for ReadResponse
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for RegisterServerRequest
impl Into<SupportedMessage> for RegisterServerRequest
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for RegisterServerResponse
impl Into<SupportedMessage> for RegisterServerResponse
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for RepublishRequest
impl Into<SupportedMessage> for RepublishRequest
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for RepublishResponse
impl Into<SupportedMessage> for RepublishResponse
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for ServiceFault
impl Into<SupportedMessage> for ServiceFault
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for SetPublishingModeRequest
impl Into<SupportedMessage> for SetPublishingModeRequest
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for SetPublishingModeResponse
impl Into<SupportedMessage> for SetPublishingModeResponse
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for TranslateBrowsePathsToNodeIdsRequest
impl Into<SupportedMessage> for TranslateBrowsePathsToNodeIdsRequest
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for TranslateBrowsePathsToNodeIdsResponse
impl Into<SupportedMessage> for TranslateBrowsePathsToNodeIdsResponse
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for WriteRequest
impl Into<SupportedMessage> for WriteRequest
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.
source§impl Into<SupportedMessage> for WriteResponse
impl Into<SupportedMessage> for WriteResponse
source§fn into(self) -> SupportedMessage
fn into(self) -> SupportedMessage
Converts this type into the (usually inferred) input type.