Enum schannel::schannel_cred::Protocol
source · #[non_exhaustive]pub enum Protocol {
Ssl3,
Tls10,
Tls11,
Tls12,
Tls13,
}
Expand description
Protocols supported by Schannel.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Ssl3
Secure Sockets Layer 3.0
Tls10
Transport Layer Security 1.0
Tls11
Transport Layer Security 1.1
Tls12
Transport Layer Security 1.2
Tls13
Transport Layer Security 1.3
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Protocol
impl Send for Protocol
impl Sync for Protocol
impl Unpin for Protocol
impl UnwindSafe for Protocol
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