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

The 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.

No security is applied.

All messages are signed but not encrypted.

All messages are signed and encrypted.

Trait Implementations

impl Debug for MessageSecurityMode
[src]

[src]

Formats the value using the given formatter.

impl Clone for MessageSecurityMode
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for MessageSecurityMode
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Copy for MessageSecurityMode
[src]

impl BinaryEncoder<MessageSecurityMode> for MessageSecurityMode
[src]

[src]

Returns the byte length of the structure. This calculation should be exact and as efficient as possible. Read more

[src]

Encodes the instance to the write stream.

[src]

Decodes an instance from the read stream.

impl Display for MessageSecurityMode
[src]

[src]

Formats the value using the given formatter. Read more

impl<'a> From<&'a str> for MessageSecurityMode
[src]

[src]

Performs the conversion.