Struct openssl::ssl::SniError[][src]

pub struct SniError(_);

An error returned from the SNI callback.

Methods

impl SniError
[src]

ALERT_FATAL: SniError = SniError(ffi::SSL_TLSEXT_ERR_ALERT_FATAL)

Abort the handshake with a fatal alert.

ALERT_WARNING: SniError = SniError(ffi::SSL_TLSEXT_ERR_ALERT_WARNING)

Send a warning alert to the client and continue the handshake.

NOACK: SniError = SniError(ffi::SSL_TLSEXT_ERR_NOACK)

Trait Implementations

impl Debug for SniError
[src]

Formats the value using the given formatter. Read more

impl Copy for SniError
[src]

impl Clone for SniError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for SniError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for SniError
[src]

Auto Trait Implementations

impl Send for SniError

impl Sync for SniError