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