Enum opcua_server::prelude::MessageSecurityMode [−][src]
pub enum MessageSecurityMode {
Invalid,
None,
Sign,
SignAndEncrypt,
}Variants
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>(
stream: &mut S,
&DecodingLimits
) -> Result<MessageSecurityMode, StatusCode> where
S: Read,
pub fn decode<S>(
stream: &mut S,
&DecodingLimits
) -> Result<MessageSecurityMode, 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.
Auto Trait Implementations
impl RefUnwindSafe for MessageSecurityMode
impl Send for MessageSecurityMode
impl Sync for MessageSecurityMode
impl Unpin for MessageSecurityMode
impl UnwindSafe for MessageSecurityMode
Blanket Implementations
Mutably borrows from an owned value. Read more