Enum opcua_types::data_types::MessageSecurityMode
[−]
[src]
pub enum MessageSecurityMode {
Invalid,
None,
Sign,
SignAndEncrypt,
}The MessageSecurityMode is an enumeration that specifies what security should be applied to messages exchanges during a Session.
Variants
InvalidThe MessageSecurityMode is invalid. This value is the default value to avoid an accidental choice of no security is applied. This choice will always be rejected.
NoneNo security is applied.
SignAll messages are signed but not encrypted.
SignAndEncryptAll messages are signed and encrypted.
Trait Implementations
impl Debug for MessageSecurityMode[src]
impl Clone for MessageSecurityMode[src]
fn clone(&self) -> MessageSecurityMode[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialEq for MessageSecurityMode[src]
fn eq(&self, __arg_0: &MessageSecurityMode) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl Copy for MessageSecurityMode[src]
impl BinaryEncoder<MessageSecurityMode> for MessageSecurityMode[src]
fn byte_len(&self) -> usize[src]
Returns the byte length of the structure. This calculation should be exact and as efficient as possible. Read more
fn encode<S: Write>(&self, stream: &mut S) -> EncodingResult<usize>[src]
Encodes the instance to the write stream.
fn decode<S: Read>(stream: &mut S) -> EncodingResult<Self>[src]
Decodes an instance from the read stream.
impl Display for MessageSecurityMode[src]
fn fmt(&self, f: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more