pub struct ServerStatistics {
pub total_bytes_read: i64,
pub total_bytes_written: i64,
pub total_file_size: i64,
pub flist_build_time: Option<i64>,
pub flist_xfer_time: Option<i64>,
}Expand description
Statistics from a remote server about how much work it did.
Fields§
§total_bytes_read: i64Total bytes sent over the network from the client to the server.
total_bytes_written: i64Total bytes sent over the network from the server to the client, ignoring any text messages.
total_file_size: i64The sum of the size of all file sizes in the transfer. This does not count directories or special files, but does include the size of symlinks.
flist_build_time: Option<i64>The number of seconds spent by the server building a file list.
flist_xfer_time: Option<i64>The number of seconds the server spent sending the file list to the client.
Trait Implementations§
Source§impl Debug for ServerStatistics
impl Debug for ServerStatistics
Source§impl Default for ServerStatistics
impl Default for ServerStatistics
Source§fn default() -> ServerStatistics
fn default() -> ServerStatistics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ServerStatistics
impl RefUnwindSafe for ServerStatistics
impl Send for ServerStatistics
impl Sync for ServerStatistics
impl Unpin for ServerStatistics
impl UnsafeUnpin for ServerStatistics
impl UnwindSafe for ServerStatistics
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