pub struct ServerStats { /* private fields */ }server only.Expand description
Statistics of server
Implementations§
Source§impl ServerStats
impl ServerStats
Sourcepub fn read_header_start(&self) -> Option<DateTime<Local>>
pub fn read_header_start(&self) -> Option<DateTime<Local>>
Get the recorded DateTime of “read_header_start”
Sourcepub fn record_read_header_start(&mut self)
pub fn record_read_header_start(&mut self)
Record the current DateTime of “read_header_start”
Sourcepub fn read_header_finish(&self) -> Option<DateTime<Local>>
pub fn read_header_finish(&self) -> Option<DateTime<Local>>
Get the recorded DateTime of “read_header_finish”
Sourcepub fn record_read_header_finish(&mut self)
pub fn record_read_header_finish(&mut self)
Record the current DateTime of “read_header_finish”
Sourcepub fn read_body_start(&self) -> Option<DateTime<Local>>
pub fn read_body_start(&self) -> Option<DateTime<Local>>
Get the recorded DateTime of “read_body_start”
Sourcepub fn record_read_body_start(&mut self)
pub fn record_read_body_start(&mut self)
Record the current DateTime of “read_body_start”
Sourcepub fn read_body_finish(&self) -> Option<DateTime<Local>>
pub fn read_body_finish(&self) -> Option<DateTime<Local>>
Get the recorded DateTime of “read_body_finish”
Sourcepub fn record_read_body_finish(&mut self)
pub fn record_read_body_finish(&mut self)
Record the current DateTime of “read_body_finish”
Sourcepub fn handle_start(&self) -> Option<DateTime<Local>>
pub fn handle_start(&self) -> Option<DateTime<Local>>
Get the recorded DateTime of “handle_start”
Sourcepub fn record_handle_start(&mut self)
pub fn record_handle_start(&mut self)
Record the current DateTime of “handle_start”
Sourcepub fn handle_finish(&self) -> Option<DateTime<Local>>
pub fn handle_finish(&self) -> Option<DateTime<Local>>
Get the recorded DateTime of “handle_finish”
Sourcepub fn record_handle_finish(&mut self)
pub fn record_handle_finish(&mut self)
Record the current DateTime of “handle_finish”
Sourcepub fn write_start(&self) -> Option<DateTime<Local>>
pub fn write_start(&self) -> Option<DateTime<Local>>
Get the recorded DateTime of “write_start”
Sourcepub fn record_write_start(&mut self)
pub fn record_write_start(&mut self)
Record the current DateTime of “write_start”
Sourcepub fn write_finish(&self) -> Option<DateTime<Local>>
pub fn write_finish(&self) -> Option<DateTime<Local>>
Get the recorded DateTime of “write_finish”
Sourcepub fn record_write_finish(&mut self)
pub fn record_write_finish(&mut self)
Record the current DateTime of “write_finish”
Trait Implementations§
Source§impl Clone for ServerStats
impl Clone for ServerStats
Source§fn clone(&self) -> ServerStats
fn clone(&self) -> ServerStats
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more