pub struct ClientStats { /* private fields */ }Available on crate feature
client only.Expand description
Statistics of client
This is unstable now and may be changed in the future.
Implementations§
Source§impl ClientStats
impl ClientStats
Sourcepub fn transport_start_at(&self) -> Option<DateTime<Local>>
pub fn transport_start_at(&self) -> Option<DateTime<Local>>
Get the recorded DateTime of “transport_start_at”
Sourcepub fn record_transport_start_at(&mut self)
pub fn record_transport_start_at(&mut self)
Record the current DateTime of “transport_start_at”
Sourcepub fn transport_end_at(&self) -> Option<DateTime<Local>>
pub fn transport_end_at(&self) -> Option<DateTime<Local>>
Get the recorded DateTime of “transport_end_at”
Sourcepub fn record_transport_end_at(&mut self)
pub fn record_transport_end_at(&mut self)
Record the current DateTime of “transport_end_at”
Trait Implementations§
Source§impl Clone for ClientStats
impl Clone for ClientStats
Source§fn clone(&self) -> ClientStats
fn clone(&self) -> ClientStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ClientStats
impl Debug for ClientStats
Source§impl Default for ClientStats
impl Default for ClientStats
Source§fn default() -> ClientStats
fn default() -> ClientStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ClientStats
impl RefUnwindSafe for ClientStats
impl Send for ClientStats
impl Sync for ClientStats
impl Unpin for ClientStats
impl UnwindSafe for ClientStats
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
Mutably borrows from an owned value. Read more