pub enum EncryptionMode {
Auto,
Always,
Never,
}Expand description
Controls whether NTLM message encryption (sealing) is applied to SOAP bodies.
When using HTTP (not HTTPS), NTLM sealing encrypts the SOAP body to prevent eavesdropping. When using HTTPS, the TLS layer provides encryption, making sealing redundant.
Variants§
Auto
Encrypt when using HTTP, skip when using HTTPS (default).
Always
Always encrypt SOAP bodies, even over HTTPS.
Never
Never encrypt SOAP bodies. Use only for debugging.
Trait Implementations§
Source§impl Clone for EncryptionMode
impl Clone for EncryptionMode
Source§fn clone(&self) -> EncryptionMode
fn clone(&self) -> EncryptionMode
Returns a duplicate 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 EncryptionMode
impl Debug for EncryptionMode
Source§impl Default for EncryptionMode
impl Default for EncryptionMode
Source§fn default() -> EncryptionMode
fn default() -> EncryptionMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for EncryptionMode
impl PartialEq for EncryptionMode
impl StructuralPartialEq for EncryptionMode
Auto Trait Implementations§
impl Freeze for EncryptionMode
impl RefUnwindSafe for EncryptionMode
impl Send for EncryptionMode
impl Sync for EncryptionMode
impl Unpin for EncryptionMode
impl UnsafeUnpin for EncryptionMode
impl UnwindSafe for EncryptionMode
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