Struct ostree::RepoTransactionStats
source · [−]pub struct RepoTransactionStats(_);
Expand description
A list of statistics for each transaction that may be interesting for reporting purposes.
Implementations
sourceimpl RepoTransactionStats
impl RepoTransactionStats
sourcepub fn get_metadata_objects_total(&self) -> usize
pub fn get_metadata_objects_total(&self) -> usize
The total number of metadata objects in the repository after this transaction has completed.
sourcepub fn get_metadata_objects_written(&self) -> usize
pub fn get_metadata_objects_written(&self) -> usize
The number of metadata objects that were written to the repository in this transaction.
sourcepub fn get_content_objects_total(&self) -> usize
pub fn get_content_objects_total(&self) -> usize
The total number of content objects in the repository after this transaction has completed.
sourcepub fn get_content_objects_written(&self) -> usize
pub fn get_content_objects_written(&self) -> usize
The number of content objects that were written to the repository in this transaction.
sourcepub fn get_content_bytes_written(&self) -> u64
pub fn get_content_bytes_written(&self) -> u64
The amount of data added to the repository, in bytes, counting only content objects.
sourcepub fn get_devino_cache_hits(&self) -> usize
pub fn get_devino_cache_hits(&self) -> usize
The amount of cache hits during this transaction.
Trait Implementations
sourceimpl Clone for RepoTransactionStats
impl Clone for RepoTransactionStats
sourcefn clone(&self) -> RepoTransactionStats
fn clone(&self) -> RepoTransactionStats
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RepoTransactionStats
impl Debug for RepoTransactionStats
sourceimpl Hash for RepoTransactionStats
impl Hash for RepoTransactionStats
sourceimpl Ord for RepoTransactionStats
impl Ord for RepoTransactionStats
sourceimpl PartialEq<RepoTransactionStats> for RepoTransactionStats
impl PartialEq<RepoTransactionStats> for RepoTransactionStats
sourcefn eq(&self, other: &RepoTransactionStats) -> bool
fn eq(&self, other: &RepoTransactionStats) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RepoTransactionStats) -> bool
fn ne(&self, other: &RepoTransactionStats) -> bool
This method tests for !=
.
sourceimpl PartialOrd<RepoTransactionStats> for RepoTransactionStats
impl PartialOrd<RepoTransactionStats> for RepoTransactionStats
sourcefn partial_cmp(&self, other: &RepoTransactionStats) -> Option<Ordering>
fn partial_cmp(&self, other: &RepoTransactionStats) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl StaticType for RepoTransactionStats
impl StaticType for RepoTransactionStats
sourcefn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of Self
.
impl Eq for RepoTransactionStats
impl StructuralEq for RepoTransactionStats
impl StructuralPartialEq for RepoTransactionStats
Auto Trait Implementations
impl RefUnwindSafe for RepoTransactionStats
impl !Send for RepoTransactionStats
impl !Sync for RepoTransactionStats
impl Unpin for RepoTransactionStats
impl UnwindSafe for RepoTransactionStats
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more