pub struct CommitStats {
pub commits: u64,
pub cur_commit_ms: u64,
pub last_commit_ms: u64,
pub max_commit_ms: u64,
pub total_commit_ms: u64,
}Expand description
Commit statistics for a mounted btrfs filesystem, read from
/sys/fs/btrfs/<uuid>/commit_stats.
Fields§
§commits: u64Total number of commits since mount.
cur_commit_ms: u64Duration of the current (in-progress) commit in milliseconds.
last_commit_ms: u64Duration of the last completed commit in milliseconds.
max_commit_ms: u64Maximum commit duration since mount (or last reset) in milliseconds.
total_commit_ms: u64Total time spent in commits since mount in milliseconds.
Trait Implementations§
Source§impl Clone for CommitStats
impl Clone for CommitStats
Source§fn clone(&self) -> CommitStats
fn clone(&self) -> CommitStats
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 CommitStats
impl Debug for CommitStats
Source§impl PartialEq for CommitStats
impl PartialEq for CommitStats
impl Eq for CommitStats
impl StructuralPartialEq for CommitStats
Auto Trait Implementations§
impl Freeze for CommitStats
impl RefUnwindSafe for CommitStats
impl Send for CommitStats
impl Sync for CommitStats
impl Unpin for CommitStats
impl UnsafeUnpin for CommitStats
impl UnwindSafe for CommitStats
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