Struct openssl::ssl::SniError [−][src]
pub struct SniError(_);
An error returned from the SNI callback.
Methods
impl SniError
[src]
impl SniError
pub 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 SniError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for SniError
[src]
impl Copy for SniError
impl Clone for SniError
[src]
impl Clone for SniError
fn clone(&self) -> SniError
[src]
fn clone(&self) -> SniError
Returns 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 SniError
fn eq(&self, other: &SniError) -> bool
[src]
fn eq(&self, other: &SniError) -> bool
This 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) -> bool
This method tests for !=
.
impl Eq for SniError
[src]
impl Eq for SniError