pub struct SourceStats {
pub read_at_calls: u64,
pub window_at_calls: u64,
pub bytes_requested: u64,
pub bytes_returned: u64,
pub max_request_len: u64,
}Expand description
Optional source-level counters for random-access backends.
Fields§
§read_at_calls: u64§window_at_calls: u64§bytes_requested: u64§bytes_returned: u64§max_request_len: u64Trait Implementations§
Source§impl Clone for SourceStats
impl Clone for SourceStats
Source§fn clone(&self) -> SourceStats
fn clone(&self) -> SourceStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SourceStats
Source§impl Debug for SourceStats
impl Debug for SourceStats
Source§impl Default for SourceStats
impl Default for SourceStats
Source§fn default() -> SourceStats
fn default() -> SourceStats
Returns the “default value” for a type. Read more
impl Eq for SourceStats
Source§impl PartialEq for SourceStats
impl PartialEq for SourceStats
impl StructuralPartialEq for SourceStats
Auto Trait Implementations§
impl Freeze for SourceStats
impl RefUnwindSafe for SourceStats
impl Send for SourceStats
impl Sync for SourceStats
impl Unpin for SourceStats
impl UnsafeUnpin for SourceStats
impl UnwindSafe for SourceStats
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