pub struct StoredOutput<'a> {
pub workspace_absolute_path: &'a str,
pub on_disk_path: &'a Path,
pub mode: u32,
}Expand description
One declared output of a successful task run, in the shape
the cache needs to ingest it (CACHE-013).
workspace_absolute_path is the workspace-anchored path
(rooted at /) at which restoration will materialise the
blob; it is recorded verbatim in the manifest.
on_disk_path is the real filesystem path where the blob
currently lives, which the cache reads to compute the
content hash and to copy into the entry directory.
Fields§
§workspace_absolute_path: &'a strWorkspace-anchored path of the output, as it will appear in the manifest and be restored on a hit.
on_disk_path: &'a PathReal filesystem path where the output currently lives. The cache reads this path to obtain the bytes and to compute the content hash.
mode: u32Unix mode bits to record on the manifest entry and to apply to the stored blob.
Trait Implementations§
Source§impl<'a> Clone for StoredOutput<'a>
impl<'a> Clone for StoredOutput<'a>
Source§fn clone(&self) -> StoredOutput<'a>
fn clone(&self) -> StoredOutput<'a>
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<'a> Debug for StoredOutput<'a>
impl<'a> Debug for StoredOutput<'a>
impl<'a> Copy for StoredOutput<'a>
Auto Trait Implementations§
impl<'a> Freeze for StoredOutput<'a>
impl<'a> RefUnwindSafe for StoredOutput<'a>
impl<'a> Send for StoredOutput<'a>
impl<'a> Sync for StoredOutput<'a>
impl<'a> Unpin for StoredOutput<'a>
impl<'a> UnsafeUnpin for StoredOutput<'a>
impl<'a> UnwindSafe for StoredOutput<'a>
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