pub struct AlpnError(/* private fields */);
Available on crate features
accept
and openssl
only.Expand description
An error returned from an ALPN selection callback.
Requires OpenSSL 1.0.2 or LibreSSL 2.6.1 or newer.
Implementations§
Trait Implementations§
source§impl PartialEq for AlpnError
impl PartialEq for AlpnError
impl Copy for AlpnError
impl Eq for AlpnError
impl StructuralPartialEq for AlpnError
Auto Trait Implementations§
impl Freeze for AlpnError
impl RefUnwindSafe for AlpnError
impl Send for AlpnError
impl Sync for AlpnError
impl Unpin for AlpnError
impl UnwindSafe for AlpnError
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