Enum openssl::ssl::SslVerifyMode [-] [+] [src]

pub enum SslVerifyMode {
    SslVerifyPeer,
    SslVerifyNone,
}

Determines the type of certificate verification used

Variants

SslVerifyPeer

Verify that the server's certificate is trusted

SslVerifyNone

Do not verify the server's certificate

Trait Implementations

Derived Implementations

impl Debug for SslVerifyMode

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for SslVerifyMode

fn clone(&self) -> SslVerifyMode

fn clone_from(&mut self, source: &Self)

impl Copy for SslVerifyMode