Struct EndpointStats
#[non_exhaustive]pub struct EndpointStats {Show 15 fields
pub accepted_handshakes: u64,
pub outgoing_handshakes: u64,
pub refused_handshakes: u64,
pub ignored_handshakes: u64,
pub received_datagrams: u64,
pub truncated_receive_entries: u64,
pub ignored_receive_errors: u64,
pub dropped_responses: u64,
pub failed_responses: u64,
pub expired_incoming: u64,
pub dropped_packets: u64,
pub receive_queue: PacketQueueStats,
pub incoming_queue_capacity: usize,
pub retained_sockets: usize,
pub retired_sockets: u64,
}quic and std only.Expand description
Statistics on Endpoint activity
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.accepted_handshakes: u64Cumulative number of Quic handshakes accepted by this Endpoint
outgoing_handshakes: u64Cumulative number of Quic handshakees sent from this Endpoint
refused_handshakes: u64Cumulative number of Quic handshakes refused on this Endpoint
ignored_handshakes: u64Cumulative number of Quic handshakes ignored on this Endpoint
received_datagrams: u64UDP datagrams passed to the protocol engine, including malformed QUIC packets.
truncated_receive_entries: u64Entire receive entries discarded because at least one datagram was truncated.
ignored_receive_errors: u64Receive attempts that failed with a connection-reset error, ignored as attacker-injectable noise; counted apart from received datagrams.
dropped_responses: u64Stateless responses dropped at the bounded outgoing queue.
failed_responses: u64Stateless responses the socket refused for their destination.
expired_incoming: u64Pending incoming handshakes expired before application acceptance.
dropped_packets: u64Received datagrams dropped because a receive queue was saturated.
receive_queue: PacketQueueStatsOccupancy and drop counters of the endpoint-wide receive queue budget.
incoming_queue_capacity: usizeEntries the queued-incoming container currently retains storage for.
retained_sockets: usizeSockets currently owned: the active one plus those still serving earlier work.
retired_sockets: u64Sockets retired so far after their last dependent went away.
Trait Implementations§
§impl Clone for EndpointStats
impl Clone for EndpointStats
§fn clone(&self) -> EndpointStats
fn clone(&self) -> EndpointStats
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 EndpointStats
§impl Debug for EndpointStats
impl Debug for EndpointStats
§impl Default for EndpointStats
impl Default for EndpointStats
§fn default() -> EndpointStats
fn default() -> EndpointStats
Auto Trait Implementations§
impl Freeze for EndpointStats
impl RefUnwindSafe for EndpointStats
impl Send for EndpointStats
impl Sync for EndpointStats
impl Unpin for EndpointStats
impl UnsafeUnpin for EndpointStats
impl UnwindSafe for EndpointStats
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