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§impl Debug for ClientStats
impl Debug for ClientStats
Auto Trait Implementations§
impl Freeze for ClientStats
impl RefUnwindSafe for ClientStats
impl Send for ClientStats
impl Sync for ClientStats
impl Unpin for ClientStats
impl UnsafeUnpin 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