pub struct RestoreStats {
pub duration_ns: u64,
pub avoided_compiler_duration_ns: u64,
pub output_files: u64,
pub output_bytes: u64,
pub reflinked_output_files: u64,
pub reflinked_output_bytes: u64,
pub copied_output_files: u64,
pub copied_output_bytes: u64,
}Expand description
Local output restoration work performed by one action-cache adapter hit.
Fields§
§duration_ns: u64Cumulative time spent materializing and validating output files.
avoided_compiler_duration_ns: u64Compiler wall time recorded when this action was originally produced. Zero means no timing hint was available.
output_files: u64Number of compiler output files restored.
output_bytes: u64Declared size of compiler output files restored.
reflinked_output_files: u64Number of restored output files that share data blocks with the CAS.
reflinked_output_bytes: u64Declared size of restored outputs that share data blocks with the CAS.
copied_output_files: u64Number of restored output files that required a byte-for-byte copy.
copied_output_bytes: u64Declared size of restored outputs that required a byte-for-byte copy.
Trait Implementations§
Source§impl Clone for RestoreStats
impl Clone for RestoreStats
Source§fn clone(&self) -> RestoreStats
fn clone(&self) -> RestoreStats
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 RestoreStats
Source§impl Debug for RestoreStats
impl Debug for RestoreStats
Source§impl Default for RestoreStats
impl Default for RestoreStats
Source§fn default() -> RestoreStats
fn default() -> RestoreStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RestoreStats
impl<'de> Deserialize<'de> for RestoreStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RestoreStats
Source§impl PartialEq for RestoreStats
impl PartialEq for RestoreStats
Source§impl Serialize for RestoreStats
impl Serialize for RestoreStats
impl StructuralPartialEq for RestoreStats
Auto Trait Implementations§
impl Freeze for RestoreStats
impl RefUnwindSafe for RestoreStats
impl Send for RestoreStats
impl Sync for RestoreStats
impl Unpin for RestoreStats
impl UnsafeUnpin for RestoreStats
impl UnwindSafe for RestoreStats
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