pub struct WorktreeUsageSnapshot { /* private fields */ }Expand description
Opaque bounded aggregate transfer from one exact worktree atlas.
Implementations§
Source§impl WorktreeUsageSnapshot
impl WorktreeUsageSnapshot
Sourcepub const fn project_instance_id(&self) -> ProjectInstanceId
pub const fn project_instance_id(&self) -> ProjectInstanceId
Return the exact source atlas identity.
Sourcepub const fn logical_bytes(&self) -> usize
pub const fn logical_bytes(&self) -> usize
Return deterministic logical transfer bytes.
Trait Implementations§
Source§impl Clone for WorktreeUsageSnapshot
impl Clone for WorktreeUsageSnapshot
Source§fn clone(&self) -> WorktreeUsageSnapshot
fn clone(&self) -> WorktreeUsageSnapshot
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 moreSource§impl Debug for WorktreeUsageSnapshot
impl Debug for WorktreeUsageSnapshot
impl Eq for WorktreeUsageSnapshot
Source§impl PartialEq for WorktreeUsageSnapshot
impl PartialEq for WorktreeUsageSnapshot
Source§fn eq(&self, other: &WorktreeUsageSnapshot) -> bool
fn eq(&self, other: &WorktreeUsageSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WorktreeUsageSnapshot
Auto Trait Implementations§
impl Freeze for WorktreeUsageSnapshot
impl RefUnwindSafe for WorktreeUsageSnapshot
impl Send for WorktreeUsageSnapshot
impl Sync for WorktreeUsageSnapshot
impl Unpin for WorktreeUsageSnapshot
impl UnsafeUnpin for WorktreeUsageSnapshot
impl UnwindSafe for WorktreeUsageSnapshot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.