pub struct StoreInputs<'a> {
pub outputs: &'a [StoredOutput<'a>],
pub stdout: &'a [u8],
pub stderr: &'a [u8],
pub created_at_unix: u64,
}Expand description
Bundle of inputs to Cache::store.
Fields§
§outputs: &'a [StoredOutput<'a>]Output blobs to ingest.
stdout: &'a [u8]Captured stdout bytes from the successful run.
stderr: &'a [u8]Captured stderr bytes from the successful run.
created_at_unix: u64Unix seconds since the epoch to record in the manifest’s
informative created_at_unix field. Caller-supplied so
that the store is a pure function of its arguments and
tests stay deterministic; the spec marks this field as
informative and not contributing to the key.
Trait Implementations§
Source§impl<'a> Clone for StoreInputs<'a>
impl<'a> Clone for StoreInputs<'a>
Source§fn clone(&self) -> StoreInputs<'a>
fn clone(&self) -> StoreInputs<'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 StoreInputs<'a>
impl<'a> Debug for StoreInputs<'a>
impl<'a> Copy for StoreInputs<'a>
Auto Trait Implementations§
impl<'a> Freeze for StoreInputs<'a>
impl<'a> RefUnwindSafe for StoreInputs<'a>
impl<'a> Send for StoreInputs<'a>
impl<'a> Sync for StoreInputs<'a>
impl<'a> Unpin for StoreInputs<'a>
impl<'a> UnsafeUnpin for StoreInputs<'a>
impl<'a> UnwindSafe for StoreInputs<'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