Struct openssl::ssl::SniError [−][src]
pub struct SniError(_);
An error returned from the SNI callback.
Methods
impl SniError[src]
impl SniErrorpub const ALERT_FATAL: SniError
ALERT_FATAL: SniError = SniError(ffi::SSL_TLSEXT_ERR_ALERT_FATAL)
Abort the handshake with a fatal alert.
pub const ALERT_WARNING: SniError
ALERT_WARNING: SniError = SniError(ffi::SSL_TLSEXT_ERR_ALERT_WARNING)
Send a warning alert to the client and continue the handshake.
pub const NOACK: SniError
NOACK: SniError = SniError(ffi::SSL_TLSEXT_ERR_NOACK)
Trait Implementations
impl Debug for SniError[src]
impl Debug for SniErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Copy for SniError[src]
impl Copy for SniErrorimpl Clone for SniError[src]
impl Clone for SniErrorfn clone(&self) -> SniError[src]
fn clone(&self) -> SniErrorReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for SniError[src]
impl PartialEq for SniErrorfn eq(&self, other: &SniError) -> bool[src]
fn eq(&self, other: &SniError) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &SniError) -> bool[src]
fn ne(&self, other: &SniError) -> boolThis method tests for !=.
impl Eq for SniError[src]
impl Eq for SniError