Enum sttp::transport::SecurityMode
source · pub enum SecurityMode {
Off,
TLS,
}
Expand description
Enumeration of the possible security modes used by the DataPublisher
to secure data
sent over the command channel in STTP.
Variants§
Off
Defines security mode where data will be sent over the wire unencrypted.
TLS
Defines security mode where data will be sent over wire using Transport Layer Security (TLS).
Trait Implementations§
source§impl Clone for SecurityMode
impl Clone for SecurityMode
source§fn clone(&self) -> SecurityMode
fn clone(&self) -> SecurityMode
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 SecurityMode
impl Debug for SecurityMode
source§impl PartialEq<SecurityMode> for SecurityMode
impl PartialEq<SecurityMode> for SecurityMode
source§fn eq(&self, other: &SecurityMode) -> bool
fn eq(&self, other: &SecurityMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.