pub enum TlsPolicy {
Off,
Optional,
Reserved,
}Expand description
Transport-security policy (PRO-001).
Variants§
Off
Plain TCP. The standard default — TLS is an additive capability a deployment turns on, never a dialect.
Optional
TLS available behind configuration (rustls).
Reserved
Config keys reserved; not wired yet.
Trait Implementations§
impl Copy for TlsPolicy
impl Eq for TlsPolicy
impl StructuralPartialEq for TlsPolicy
Auto Trait Implementations§
impl Freeze for TlsPolicy
impl RefUnwindSafe for TlsPolicy
impl Send for TlsPolicy
impl Sync for TlsPolicy
impl Unpin for TlsPolicy
impl UnsafeUnpin for TlsPolicy
impl UnwindSafe for TlsPolicy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more