Struct RestoredParameters
pub struct RestoredParameters {
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
Remembered transport parameters restored by the implementation. 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 RestoredParameters
impl Clone for RestoredParameters
§fn clone(&self) -> RestoredParameters
fn clone(&self) -> RestoredParameters
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 RestoredParameters
§impl Debug for RestoredParameters
impl Debug for RestoredParameters
§impl Serialize for RestoredParameters
impl Serialize for RestoredParameters
§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,
Auto Trait Implementations§
impl Freeze for RestoredParameters
impl RefUnwindSafe for RestoredParameters
impl Send for RestoredParameters
impl Sync for RestoredParameters
impl Unpin for RestoredParameters
impl UnsafeUnpin for RestoredParameters
impl UnwindSafe for RestoredParameters
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<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