Struct variant_ssl::ssl::ClientHelloError
source · pub struct ClientHelloError(/* private fields */);
Expand description
An error returned from a client hello callback.
Requires OpenSSL 1.1.1 or newer.
Implementations§
source§impl ClientHelloError
impl ClientHelloError
sourcepub const ERROR: ClientHelloError = _
pub const ERROR: ClientHelloError = _
Terminate the connection.
sourcepub const RETRY: ClientHelloError = _
pub const RETRY: ClientHelloError = _
Return from the handshake with an ErrorCode::WANT_CLIENT_HELLO_CB
error.
Trait Implementations§
source§impl Clone for ClientHelloError
impl Clone for ClientHelloError
source§fn clone(&self) -> ClientHelloError
fn clone(&self) -> ClientHelloError
Returns a copy of the value. Read more
1.0.0 · 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 ClientHelloError
impl Debug for ClientHelloError
source§impl PartialEq for ClientHelloError
impl PartialEq for ClientHelloError
source§fn eq(&self, other: &ClientHelloError) -> bool
fn eq(&self, other: &ClientHelloError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ClientHelloError
impl Eq for ClientHelloError
impl StructuralPartialEq for ClientHelloError
Auto Trait Implementations§
impl RefUnwindSafe for ClientHelloError
impl Send for ClientHelloError
impl Sync for ClientHelloError
impl Unpin for ClientHelloError
impl UnwindSafe for ClientHelloError
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