Struct SslEarlyDataReason
pub struct SslEarlyDataReason(/* private fields */);Available on crate features
boring and crypto and std only.Expand description
Why 0-RTT data was or was not accepted on a connection.
Implementations§
§impl SslEarlyDataReason
impl SslEarlyDataReason
pub const UNKNOWN: SslEarlyDataReason
pub const UNKNOWN: SslEarlyDataReason
The handshake has not progressed far enough to know.
pub const ACCEPTED: SslEarlyDataReason
pub const ACCEPTED: SslEarlyDataReason
Early data was accepted.
pub const DISABLED: SslEarlyDataReason
pub const DISABLED: SslEarlyDataReason
Early data was disabled locally.
pub const PEER_DECLINED: SslEarlyDataReason
pub const PEER_DECLINED: SslEarlyDataReason
The peer declined early data.
pub const HELLO_RETRY_REQUEST: SslEarlyDataReason
pub const HELLO_RETRY_REQUEST: SslEarlyDataReason
A HelloRetryRequest rejected early data.
pub const ALPN_MISMATCH: SslEarlyDataReason
pub const ALPN_MISMATCH: SslEarlyDataReason
The negotiated ALPN protocol differed from the session’s.
pub const QUIC_PARAMETER_MISMATCH: SslEarlyDataReason
pub const QUIC_PARAMETER_MISMATCH: SslEarlyDataReason
QUIC transport parameters or early data context differed.
pub const PROTOCOL_VERSION: SslEarlyDataReason
pub const PROTOCOL_VERSION: SslEarlyDataReason
The negotiated protocol version does not support early data.
pub const NO_SESSION_OFFERED: SslEarlyDataReason
pub const NO_SESSION_OFFERED: SslEarlyDataReason
The client offered no session.
pub const SESSION_NOT_RESUMED: SslEarlyDataReason
pub const SESSION_NOT_RESUMED: SslEarlyDataReason
The server did not resume the offered session.
pub const UNSUPPORTED_FOR_SESSION: SslEarlyDataReason
pub const UNSUPPORTED_FOR_SESSION: SslEarlyDataReason
The session does not allow early data.
pub const CHANNEL_ID: SslEarlyDataReason
pub const CHANNEL_ID: SslEarlyDataReason
Channel ID was negotiated.
pub const TICKET_AGE_SKEW: SslEarlyDataReason
pub const TICKET_AGE_SKEW: SslEarlyDataReason
The ticket’s age was too far off.
pub const ALPS_MISMATCH: SslEarlyDataReason
pub const ALPS_MISMATCH: SslEarlyDataReason
The negotiated ALPS settings differed from the session’s.
pub fn as_str(&self) -> Option<&'static str>
pub fn as_str(&self) -> Option<&'static str>
The native, stable name of this reason.
This corresponds to SSL_early_data_reason_string.
Trait Implementations§
§impl Clone for SslEarlyDataReason
impl Clone for SslEarlyDataReason
§fn clone(&self) -> SslEarlyDataReason
fn clone(&self) -> SslEarlyDataReason
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 SslEarlyDataReason
§impl Debug for SslEarlyDataReason
impl Debug for SslEarlyDataReason
impl Eq for SslEarlyDataReason
§impl PartialEq for SslEarlyDataReason
impl PartialEq for SslEarlyDataReason
impl StructuralPartialEq for SslEarlyDataReason
Auto Trait Implementations§
impl Freeze for SslEarlyDataReason
impl RefUnwindSafe for SslEarlyDataReason
impl Send for SslEarlyDataReason
impl Sync for SslEarlyDataReason
impl Unpin for SslEarlyDataReason
impl UnsafeUnpin for SslEarlyDataReason
impl UnwindSafe for SslEarlyDataReason
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a rama_grpc::Request§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§fn and<P, B, E>(self, other: P) -> And<T, P>
fn and<P, B, E>(self, other: P) -> And<T, P>
Create a new
Policy that returns Action::Follow only if self and other return
Action::Follow. Read more