pub struct TransportCounts {
pub requests_in: u64,
pub requests_out: u64,
pub responses_in: u64,
pub responses_out: u64,
pub parse_failures: u64,
pub source_refusals: u64,
}Expand description
What crossed one transport, in both directions.
Per transport because which transport is the first question a support case asks, and an aggregate cannot answer it: “we are losing messages” has a different cause over UDP than over a WebSocket, and the same total.
Fields§
§requests_in: u64Requests that arrived and parsed.
requests_out: u64Requests put on the wire, including retransmissions.
responses_in: u64Responses that arrived and parsed.
responses_out: u64Responses put on the wire, including retransmissions.
parse_failures: u64Bytes that arrived and could not be parsed as a SIP message.
Not also counted as a request or a response: which one it would have been is exactly
what could not be determined (§12.2). So requests_in + responses_in omits these, and the
number of messages that arrived at all is that sum plus this.
source_refusals: u64Packets or new connections rejected by live source admission before protocol work.
Trait Implementations§
Source§impl Clone for TransportCounts
impl Clone for TransportCounts
Source§fn clone(&self) -> TransportCounts
fn clone(&self) -> TransportCounts
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TransportCounts
impl Debug for TransportCounts
Source§impl Default for TransportCounts
impl Default for TransportCounts
Source§fn default() -> TransportCounts
fn default() -> TransportCounts
Source§impl PartialEq for TransportCounts
impl PartialEq for TransportCounts
Source§fn eq(&self, other: &TransportCounts) -> bool
fn eq(&self, other: &TransportCounts) -> bool
self and other values to be equal, and is used by ==.impl Copy for TransportCounts
impl Eq for TransportCounts
impl StructuralPartialEq for TransportCounts
Auto Trait Implementations§
impl Freeze for TransportCounts
impl RefUnwindSafe for TransportCounts
impl Send for TransportCounts
impl Sync for TransportCounts
impl Unpin for TransportCounts
impl UnsafeUnpin for TransportCounts
impl UnwindSafe for TransportCounts
Blanket Implementations§
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
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
key and return true if they are equal.§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