pub struct PredecessorStreams<'a> {
pub project: &'a ProjectName,
pub task: &'a TaskName,
pub stdout_hash: [u8; 32],
pub stderr_hash: [u8; 32],
}Expand description
Contribution of one hard-edge predecessor’s captured streams
(CACHE-007).
stdout_hash and stderr_hash are hashes of the predecessor’s
stdout and stderr byte streams under the cache’s configured
hash function. The two are kept distinct: a stream switch
(stdout -> stderr) changes the predecessor’s contribution.
Fields§
§project: &'a ProjectNameProject component of the predecessor’s identity.
task: &'a TaskNameTask component of the predecessor’s identity.
stdout_hash: [u8; 32]Hash of the predecessor’s stdout bytes.
stderr_hash: [u8; 32]Hash of the predecessor’s stderr bytes.
Auto Trait Implementations§
impl<'a> Freeze for PredecessorStreams<'a>
impl<'a> RefUnwindSafe for PredecessorStreams<'a>
impl<'a> Send for PredecessorStreams<'a>
impl<'a> Sync for PredecessorStreams<'a>
impl<'a> Unpin for PredecessorStreams<'a>
impl<'a> UnsafeUnpin for PredecessorStreams<'a>
impl<'a> UnwindSafe for PredecessorStreams<'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