pub enum SslVerifyMode {
SslVerifyNone,
SslVerifyPeer,
SslVerifyFailIfNoPeerCert,
SslVerifyFailExceptPsk,
}
Expand description
SSL Verification method
Ref: https://www.wolfssl.com/doxygen/group__Setup.html#gaf9198658e31dd291088be18262ef2354
Variants§
SslVerifyNone
No verification done
SslVerifyPeer
Verify peers certificate
SslVerifyFailIfNoPeerCert
Verify client’s certificate (applicable only for server)
SslVerifyFailExceptPsk
Verify client’s certificate except PSK connection (applicable only for server)
Trait Implementations§
Source§impl Clone for SslVerifyMode
impl Clone for SslVerifyMode
Source§fn clone(&self) -> SslVerifyMode
fn clone(&self) -> SslVerifyMode
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 SslVerifyMode
impl Debug for SslVerifyMode
Source§impl Default for SslVerifyMode
impl Default for SslVerifyMode
Source§impl From<SslVerifyMode> for c_int
impl From<SslVerifyMode> for c_int
Source§fn from(value: SslVerifyMode) -> Self
fn from(value: SslVerifyMode) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SslVerifyMode
impl RefUnwindSafe for SslVerifyMode
impl Send for SslVerifyMode
impl Sync for SslVerifyMode
impl Unpin for SslVerifyMode
impl UnwindSafe for SslVerifyMode
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