pub struct Captured {
pub kept: Vec<u8>,
pub total: usize,
}Expand description
Captured output of one stream.
Fields§
§kept: Vec<u8>The first output_cap bytes.
total: usizeTotal bytes written.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Captured
impl RefUnwindSafe for Captured
impl Send for Captured
impl Sync for Captured
impl Unpin for Captured
impl UnsafeUnpin for Captured
impl UnwindSafe for Captured
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