Struct openssl::ssl::ClientHelloResponse
source · [−]pub struct ClientHelloResponse(_);
Expand description
The result of a client hello callback.
Requires OpenSSL 1.1.1 or newer.
Implementations
sourceimpl 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
sourceimpl Clone for ClientHelloResponse
impl Clone for ClientHelloResponse
sourcefn clone(&self) -> ClientHelloResponse
fn clone(&self) -> ClientHelloResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ClientHelloResponse
impl Debug for ClientHelloResponse
sourceimpl PartialEq<ClientHelloResponse> for ClientHelloResponse
impl PartialEq<ClientHelloResponse> for ClientHelloResponse
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &ClientHelloResponse) -> bool
fn ne(&self, other: &ClientHelloResponse) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more