pub struct RestoredStreams {
pub stdout: Vec<u8>,
pub stderr: Vec<u8>,
}Expand description
Captured streams returned to the caller on a successful
restore. The caller decides how to emit them per the task’s
configured output.mode (CACHE-019 steps 2 and 3); the
cache is opinion-free on emission.
Fields§
§stdout: Vec<u8>Bytes that were captured on the run’s stdout.
stderr: Vec<u8>Bytes that were captured on the run’s stderr.
Trait Implementations§
Source§impl Clone for RestoredStreams
impl Clone for RestoredStreams
Source§fn clone(&self) -> RestoredStreams
fn clone(&self) -> RestoredStreams
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 Debug for RestoredStreams
impl Debug for RestoredStreams
Source§impl PartialEq for RestoredStreams
impl PartialEq for RestoredStreams
Source§fn eq(&self, other: &RestoredStreams) -> bool
fn eq(&self, other: &RestoredStreams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RestoredStreams
impl StructuralPartialEq for RestoredStreams
Auto Trait Implementations§
impl Freeze for RestoredStreams
impl RefUnwindSafe for RestoredStreams
impl Send for RestoredStreams
impl Sync for RestoredStreams
impl Unpin for RestoredStreams
impl UnsafeUnpin for RestoredStreams
impl UnwindSafe for RestoredStreams
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