Struct ParameterId
pub struct ParameterId(pub u64);Available on crate feature
quic only.Expand description
The identifier of a transport parameter (RFC 9000 §18.2 and the QUIC transport parameter registry), including ones this crate does not otherwise know.
Tuple Fields§
§0: u64Implementations§
§impl ParameterId
impl ParameterId
pub const ORIGINAL_DESTINATION_CONNECTION_ID: ParameterId
pub const MAX_IDLE_TIMEOUT: ParameterId
pub const STATELESS_RESET_TOKEN: ParameterId
pub const MAX_UDP_PAYLOAD_SIZE: ParameterId
pub const INITIAL_MAX_DATA: ParameterId
pub const INITIAL_MAX_STREAM_DATA_BIDI_LOCAL: ParameterId
pub const INITIAL_MAX_STREAM_DATA_BIDI_REMOTE: ParameterId
pub const INITIAL_MAX_STREAM_DATA_UNI: ParameterId
pub const INITIAL_MAX_STREAMS_BIDI: ParameterId
pub const INITIAL_MAX_STREAMS_UNI: ParameterId
pub const ACK_DELAY_EXPONENT: ParameterId
pub const MAX_ACK_DELAY: ParameterId
pub const DISABLE_ACTIVE_MIGRATION: ParameterId
pub const PREFERRED_ADDRESS: ParameterId
pub const ACTIVE_CONNECTION_ID_LIMIT: ParameterId
pub const INITIAL_SOURCE_CONNECTION_ID: ParameterId
pub const RETRY_SOURCE_CONNECTION_ID: ParameterId
pub const VERSION_INFORMATION: ParameterId
pub const VERSION_INFORMATION: ParameterId
RFC 9368.
pub const MAX_DATAGRAM_FRAME_SIZE: ParameterId
pub const MAX_DATAGRAM_FRAME_SIZE: ParameterId
RFC 9221.
pub const GREASE_QUIC_BIT: ParameterId
pub const GREASE_QUIC_BIT: ParameterId
RFC 9287.
pub const MIN_ACK_DELAY: ParameterId
pub const MIN_ACK_DELAY: ParameterId
draft-ietf-quic-ack-frequency-07.
pub const GREASE: ParameterId
pub const GREASE: ParameterId
Not a parameter: where the greased parameter goes in a fixed order.
pub const fn is_reserved(self) -> bool
pub const fn is_reserved(self) -> bool
Whether this identifier is one reserved for greasing (RFC 9000 §18.1): 31 * N + 27.
Trait Implementations§
§impl Clone for ParameterId
impl Clone for ParameterId
§fn clone(&self) -> ParameterId
fn clone(&self) -> ParameterId
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 ParameterId
§impl Debug for ParameterId
impl Debug for ParameterId
§impl<'de> Deserialize<'de> for ParameterId
impl<'de> Deserialize<'de> for ParameterId
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ParameterId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ParameterId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Display for ParameterId
impl Display for ParameterId
impl Eq for ParameterId
§impl Hash for ParameterId
impl Hash for ParameterId
§impl Ord for ParameterId
impl Ord for ParameterId
§fn cmp(&self, other: &ParameterId) -> Ordering
fn cmp(&self, other: &ParameterId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
§impl PartialEq for ParameterId
impl PartialEq for ParameterId
§impl PartialOrd for ParameterId
impl PartialOrd for ParameterId
§impl Serialize for ParameterId
impl Serialize for ParameterId
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ParameterId
Auto Trait Implementations§
impl Freeze for ParameterId
impl RefUnwindSafe for ParameterId
impl Send for ParameterId
impl Sync for ParameterId
impl Unpin for ParameterId
impl UnsafeUnpin for ParameterId
impl UnwindSafe for ParameterId
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§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§impl<T, U> RamaTryFrom<T> for Uwhere
U: TryFrom<T>,
impl<T, U> RamaTryFrom<T> for Uwhere
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
fn rama_try_from(value: T) -> Result<U, <U as RamaTryFrom<T>>::Error>
§impl<T, U, CrateMarker> RamaTryInto<U, CrateMarker> for Twhere
U: RamaTryFrom<T, CrateMarker>,
impl<T, U, CrateMarker> RamaTryInto<U, CrateMarker> for Twhere
U: RamaTryFrom<T, CrateMarker>,
type Error = <U as RamaTryFrom<T, CrateMarker>>::Error
fn rama_try_into(self) -> Result<U, <U as RamaTryFrom<T, CrateMarker>>::Error>
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.