pub struct SslInfoCallbackMode(/* private fields */);Expand description
Options controlling the behavior of the info callback.
Implementations§
Source§impl SslInfoCallbackMode
impl SslInfoCallbackMode
Sourcepub const READ_ALERT: Self
pub const READ_ALERT: Self
Signaled for each alert received, warning or fatal.
Sourcepub const WRITE_ALERT: Self
pub const WRITE_ALERT: Self
Signaled for each alert sent, warning or fatal.
Sourcepub const HANDSHAKE_START: Self
pub const HANDSHAKE_START: Self
Signaled when a handshake begins.
Sourcepub const HANDSHAKE_DONE: Self
pub const HANDSHAKE_DONE: Self
Signaled when a handshake completes successfully.
Sourcepub const ACCEPT_LOOP: Self
pub const ACCEPT_LOOP: Self
Signaled when a handshake progresses to a new state.
Sourcepub const ACCEPT_EXIT: Self
pub const ACCEPT_EXIT: Self
Signaled when the current iteration of the server-side handshake state machine completes.
Sourcepub const CONNECT_EXIT: Self
pub const CONNECT_EXIT: Self
Signaled when the current iteration of the client-side handshake state machine completes.
Trait Implementations§
Source§impl Clone for SslInfoCallbackMode
impl Clone for SslInfoCallbackMode
Source§fn clone(&self) -> SslInfoCallbackMode
fn clone(&self) -> SslInfoCallbackMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SslInfoCallbackMode
impl Debug for SslInfoCallbackMode
Source§impl Hash for SslInfoCallbackMode
impl Hash for SslInfoCallbackMode
Source§impl Ord for SslInfoCallbackMode
impl Ord for SslInfoCallbackMode
Source§fn cmp(&self, other: &SslInfoCallbackMode) -> Ordering
fn cmp(&self, other: &SslInfoCallbackMode) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SslInfoCallbackMode
impl PartialEq for SslInfoCallbackMode
Source§fn eq(&self, other: &SslInfoCallbackMode) -> bool
fn eq(&self, other: &SslInfoCallbackMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SslInfoCallbackMode
impl PartialOrd for SslInfoCallbackMode
impl Copy for SslInfoCallbackMode
impl Eq for SslInfoCallbackMode
impl StructuralPartialEq for SslInfoCallbackMode
Auto Trait Implementations§
impl Freeze for SslInfoCallbackMode
impl RefUnwindSafe for SslInfoCallbackMode
impl Send for SslInfoCallbackMode
impl Sync for SslInfoCallbackMode
impl Unpin for SslInfoCallbackMode
impl UnsafeUnpin for SslInfoCallbackMode
impl UnwindSafe for SslInfoCallbackMode
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