Struct QuicTransportLimits
pub struct QuicTransportLimits {
pub disable_active_migration: bool,
pub max_idle_timeout: u64,
pub max_udp_payload_size: u64,
pub active_connection_id_limit: u64,
pub initial_max_data: u64,
pub initial_max_stream_data_bidi_local: u64,
pub initial_max_stream_data_bidi_remote: u64,
pub initial_max_stream_data_uni: u64,
pub initial_max_streams_bidi: u64,
pub initial_max_streams_uni: u64,
pub max_datagram_frame_size: Option<u64>,
pub grease_quic_bit: bool,
}quic and std only.Expand description
Semantic transport limits advertised by one endpoint, including protocol defaults. Local and remote stream directions are relative to the endpoint advertising these parameters.
Fields§
§disable_active_migration: boolWhether the advertising endpoint prohibits peer-initiated active migration.
max_idle_timeout: u64Advertised maximum idle timeout, in milliseconds; zero disables this timeout.
max_udp_payload_size: u64Largest UDP payload the advertising endpoint accepts, in bytes.
active_connection_id_limit: u64Maximum peer-issued connection IDs the advertising endpoint retains.
initial_max_data: u64Initial connection-wide receive credit, in bytes.
initial_max_stream_data_bidi_local: u64Initial receive credit for locally initiated bidirectional streams, in bytes.
initial_max_stream_data_bidi_remote: u64Initial receive credit for remotely initiated bidirectional streams, in bytes.
initial_max_stream_data_uni: u64Initial receive credit per remotely initiated unidirectional stream, in bytes.
initial_max_streams_bidi: u64Initial number of bidirectional streams the peer may open.
initial_max_streams_uni: u64Initial number of unidirectional streams the peer may open.
max_datagram_frame_size: Option<u64>Largest accepted DATAGRAM frame, including its header, in bytes.
grease_quic_bit: boolWhether the endpoint accepts a cleared QUIC fixed bit.
Trait Implementations§
§impl Clone for QuicTransportLimits
impl Clone for QuicTransportLimits
§fn clone(&self) -> QuicTransportLimits
fn clone(&self) -> QuicTransportLimits
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for QuicTransportLimits
§impl Debug for QuicTransportLimits
impl Debug for QuicTransportLimits
impl Eq for QuicTransportLimits
§impl From<&TransportParameters> for QuicTransportLimits
impl From<&TransportParameters> for QuicTransportLimits
§fn from(params: &TransportParameters) -> QuicTransportLimits
fn from(params: &TransportParameters) -> QuicTransportLimits
§impl PartialEq for QuicTransportLimits
impl PartialEq for QuicTransportLimits
§impl Serialize for QuicTransportLimits
impl Serialize for QuicTransportLimits
§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,
impl StructuralPartialEq for QuicTransportLimits
Auto Trait Implementations§
impl Forget for QuicTransportLimits
impl Freeze for QuicTransportLimits
impl Move for QuicTransportLimits
impl RefUnwindSafe for QuicTransportLimits
impl Send for QuicTransportLimits
impl Sync for QuicTransportLimits
impl Unpin for QuicTransportLimits
impl UnsafeUnpin for QuicTransportLimits
impl UnwindSafe for QuicTransportLimits
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
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
§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
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
§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
§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> ⓘ
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> ⓘ
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>
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>
Policy that returns Action::Follow only if self and other return
Action::Follow. Read more