pub struct SharedIncrementalTargetMaintenance { /* private fields */ }Expand description
Result of explicit shared Cargo target maintenance.
Implementations§
Sourcepub fn target_dir(&self) -> &Path
pub fn target_dir(&self) -> &Path
Canonical shared Cargo target directory maintained under lock.
Sourcepub const fn logical_size_bytes_before(&self) -> u64
pub const fn logical_size_bytes_before(&self) -> u64
Logical bytes observed before applying the policy.
Sourcepub const fn logical_size_bytes_after(&self) -> u64
pub const fn logical_size_bytes_after(&self) -> u64
Logical bytes retained after applying the policy.
Sourcepub const fn last_used_before(&self) -> SystemTime
pub const fn last_used_before(&self) -> SystemTime
Most recent build use observed before applying the policy.
Sourcepub const fn was_cleared(&self) -> bool
pub const fn was_cleared(&self) -> bool
Whether a configured limit caused the mutable target contents to be cleared.
Sourcepub const fn lock_wait(&self) -> Duration
pub const fn lock_wait(&self) -> Duration
Time spent waiting for another process using the shared target.
Sourcepub const fn maintenance(&self) -> Duration
pub const fn maintenance(&self) -> Duration
Time spent measuring and, when required, clearing the target.
Trait Implementations§
Source§fn clone(&self) -> SharedIncrementalTargetMaintenance
fn clone(&self) -> SharedIncrementalTargetMaintenance
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 moreAuto Trait Implementations§
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> CustomError for T
impl<T> CustomError for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.