#[non_exhaustive]pub enum SelectCertAction {
Success,
DisableEch,
}Expand description
An action returned from a certificate selection callback.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Success
Complete certificate selection normally.
DisableEch
Discard ClientHelloInner and continue with ClientHelloOuter.
BoringSSL calls the callback again with ClientHelloOuter and continues the handshake
without retry configs. This action is only valid when SslRef::ech_accepted is true;
otherwise the handshake fails.
Changes made to the connection while processing ClientHelloInner carry over to the outer
ClientHello.
Trait Implementations§
Source§impl Clone for SelectCertAction
impl Clone for SelectCertAction
Source§fn clone(&self) -> SelectCertAction
fn clone(&self) -> SelectCertAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SelectCertAction
Source§impl Debug for SelectCertAction
impl Debug for SelectCertAction
impl Eq for SelectCertAction
Source§impl Hash for SelectCertAction
impl Hash for SelectCertAction
Source§impl PartialEq for SelectCertAction
impl PartialEq for SelectCertAction
impl StructuralPartialEq for SelectCertAction
Auto Trait Implementations§
impl Freeze for SelectCertAction
impl RefUnwindSafe for SelectCertAction
impl Send for SelectCertAction
impl Sync for SelectCertAction
impl Unpin for SelectCertAction
impl UnsafeUnpin for SelectCertAction
impl UnwindSafe for SelectCertAction
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