Struct FrameStats
#[non_exhaustive]pub struct FrameStats {Show 25 fields
pub acks: u64,
pub ack_frequency: u64,
pub crypto: u64,
pub connection_close: u64,
pub data_blocked: u64,
pub datagram: u64,
pub handshake_done: u8,
pub immediate_ack: u64,
pub max_data: u64,
pub max_stream_data: u64,
pub max_streams_bidi: u64,
pub max_streams_uni: u64,
pub new_connection_id: u64,
pub new_token: u64,
pub new_token_failed: u64,
pub path_challenge: u64,
pub path_response: u64,
pub ping: u64,
pub reset_stream: u64,
pub retire_connection_id: u64,
pub stream_data_blocked: u64,
pub streams_blocked_bidi: u64,
pub streams_blocked_uni: u64,
pub stop_sending: u64,
pub stream: u64,
}quic and std only.Expand description
Number of frames transmitted or received of each frame type
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.acks: u64ACK frames (RFC 9000 §19.3).
ack_frequency: u64ACK_FREQUENCY frames, from the ack-frequency extension.
crypto: u64CRYPTO frames carrying handshake data (§19.6).
connection_close: u64CONNECTION_CLOSE frames of either kind (§19.19).
data_blocked: u64DATA_BLOCKED frames, saying the connection’s data limit was reached (§19.12).
datagram: u64DATAGRAM frames, from the unreliable-datagram extension (RFC 9221).
handshake_done: u8HANDSHAKE_DONE frames counted as they pass, retransmissions included (§19.20).
Saturates at u8::MAX.
immediate_ack: u64IMMEDIATE_ACK frames, from the ack-frequency extension.
max_data: u64MAX_DATA frames, raising the connection’s data limit (§19.9).
max_stream_data: u64MAX_STREAM_DATA frames, raising one stream’s limit (§19.10).
max_streams_bidi: u64MAX_STREAMS frames for bidirectional streams (§19.11).
max_streams_uni: u64MAX_STREAMS frames for unidirectional streams (§19.11).
new_connection_id: u64NEW_CONNECTION_ID frames offering another identifier (§19.15).
new_token: u64NEW_TOKEN frames carrying an address-validation token (§19.7).
new_token_failed: u64NEW_TOKEN frames that were not sent because the token could not be sealed. Never received: it counts a local failure.
path_challenge: u64PATH_CHALLENGE frames probing a path (§19.17).
path_response: u64PATH_RESPONSE frames answering a probe (§19.18).
ping: u64PING frames (§19.2).
reset_stream: u64RESET_STREAM frames giving up on a stream (§19.4).
retire_connection_id: u64RETIRE_CONNECTION_ID frames dropping an identifier (§19.16).
stream_data_blocked: u64STREAM_DATA_BLOCKED frames, saying one stream’s limit was reached (§19.13).
streams_blocked_bidi: u64STREAMS_BLOCKED frames for bidirectional streams (§19.14).
streams_blocked_uni: u64STREAMS_BLOCKED frames for unidirectional streams (§19.14).
stop_sending: u64STOP_SENDING frames asking a peer to stop writing a stream (§19.5).
stream: u64STREAM frames carrying application data (§19.8).
Trait Implementations§
§impl Clone for FrameStats
impl Clone for FrameStats
§fn clone(&self) -> FrameStats
fn clone(&self) -> FrameStats
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 FrameStats
§impl Debug for FrameStats
impl Debug for FrameStats
§impl Default for FrameStats
impl Default for FrameStats
§fn default() -> FrameStats
fn default() -> FrameStats
Auto Trait Implementations§
impl Freeze for FrameStats
impl RefUnwindSafe for FrameStats
impl Send for FrameStats
impl Sync for FrameStats
impl Unpin for FrameStats
impl UnsafeUnpin for FrameStats
impl UnwindSafe for FrameStats
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