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 duplicate 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
impl Copy for ClientHelloError
impl Eq for ClientHelloError
impl StructuralPartialEq for ClientHelloError
Auto Trait Implementations§
impl Freeze for ClientHelloError
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