Struct Timings
pub struct Timings {
pub blocked: Option<i64>,
pub dns: Option<i64>,
pub connect: Option<i64>,
pub send: i64,
pub wait: i64,
pub receive: i64,
pub ssl: Option<i64>,
pub comment: Option<ArcStr>,
}Expand description
This object describes various phases within request-response round trip.
All times are specified in milliseconds.
Fields§
§blocked: Option<i64>Time spent in a queue waiting for a network connection.
Use -1 if the timing does not apply to the current request.
dns: Option<i64>DNS resolution time.
The time required to resolve a host name.
Use -1 if the timing does not apply to the current request.
connect: Option<i64>Time required to create TCP connection.
Use -1 if the timing does not apply to the current request.
send: i64Time required to send HTTP request to the server.
wait: i64Waiting for a response from the server.
receive: i64Time required to read entire response from the server (or cache).
ssl: Option<i64>Time required for SSL/TLS negotiation.
If this field is defined then the time is also included in the connect field (to ensure backward compatibility with HAR 1.1).
Use -1 if the timing does not apply to the current request.
comment: Option<ArcStr>A comment provided by the user or the application.
Trait Implementations§
§impl<'de> Deserialize<'de> for Timings
impl<'de> Deserialize<'de> for Timings
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Timings, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Timings, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
§impl Serialize for Timings
impl Serialize for Timings
§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 Timings
impl RefUnwindSafe for Timings
impl Send for Timings
impl Sync for Timings
impl Unpin for Timings
impl UnsafeUnpin for Timings
impl UnwindSafe for Timings
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
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