pub struct ExecStreamCapture {
pub head: Vec<u8>,
pub tail: Vec<u8>,
pub total_bytes: u64,
pub spool: File,
}Expand description
One process stream captured without retaining its full contents in memory.
Fields§
§head: Vec<u8>§tail: Vec<u8>§total_bytes: u64§spool: FileImplementations§
Source§impl ExecStreamCapture
impl ExecStreamCapture
Sourcepub fn complete_bytes(&self) -> Option<Vec<u8>>
pub fn complete_bytes(&self) -> Option<Vec<u8>>
Reconstruct the stream only when the bounded windows contain every byte.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExecStreamCapture
impl RefUnwindSafe for ExecStreamCapture
impl Send for ExecStreamCapture
impl Sync for ExecStreamCapture
impl Unpin for ExecStreamCapture
impl UnsafeUnpin for ExecStreamCapture
impl UnwindSafe for ExecStreamCapture
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