[−][src]Struct sozu_lib::SessionMetrics
Fields
start: Option<SteadyTime>
date at which we started handling that request
service_time: Duration
time actually spent handling the request
wait_time: Duration
time spent waiting for its turn
bin: usize
bytes received by the frontend
bout: usize
bytes sent by the frontend
service_start: Option<SteadyTime>
date at which we started working on the request
wait_start: SteadyTime
backend_id: Option<String>
backend_start: Option<SteadyTime>
backend_connected: Option<SteadyTime>
backend_stop: Option<SteadyTime>
backend_bin: usize
backend_bout: usize
Implementations
impl SessionMetrics
[src]
pub fn new(delay: Option<Duration>) -> SessionMetrics
[src]
pub fn reset(&mut self)
[src]
pub fn service_start(&mut self)
[src]
pub fn service_stop(&mut self)
[src]
pub fn wait_start(&mut self)
[src]
pub fn service_time(&self) -> Duration
[src]
pub fn response_time(&self) -> Duration
[src]
pub fn backend_start(&mut self)
[src]
pub fn backend_connected(&mut self)
[src]
pub fn backend_stop(&mut self)
[src]
pub fn backend_response_time(&self) -> Option<Duration>
[src]
pub fn backend_connection_time(&self) -> Option<Duration>
[src]
Trait Implementations
impl Clone for SessionMetrics
[src]
fn clone(&self) -> SessionMetrics
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SessionMetrics
[src]
Auto Trait Implementations
impl RefUnwindSafe for SessionMetrics
impl Send for SessionMetrics
impl Sync for SessionMetrics
impl Unpin for SessionMetrics
impl UnwindSafe for SessionMetrics
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,