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 for ClientHelloResponse
impl PartialEq for ClientHelloResponse
impl Copy for ClientHelloResponse
impl Eq for ClientHelloResponse
impl StructuralPartialEq for ClientHelloResponse
Auto Trait Implementations§
impl Freeze for ClientHelloResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)