pub struct OutputSlice {
pub text: String,
pub from_byte: u64,
pub next_byte: u64,
pub dropped: u64,
pub closed: bool,
}Expand description
A stretch of a task’s output: bytes from_byte..next_byte of everything
the work ever printed.
Fields§
§text: String§from_byte: u64§next_byte: u64§dropped: u64Of what was asked for, the bytes no longer kept: the asked-for start
plus these is from_byte.
closed: boolThe work’s output has ended; next_byte will not grow.
Trait Implementations§
Source§impl Clone for OutputSlice
impl Clone for OutputSlice
Source§impl Debug for OutputSlice
impl Debug for OutputSlice
impl Eq for OutputSlice
Source§impl PartialEq for OutputSlice
impl PartialEq for OutputSlice
impl StructuralPartialEq for OutputSlice
Auto Trait Implementations§
impl Forget for OutputSlice
impl Freeze for OutputSlice
impl Move for OutputSlice
impl RefUnwindSafe for OutputSlice
impl Send for OutputSlicewhere
RawVecInner: Send,
impl Sync for OutputSlicewhere
RawVecInner: Sync,
impl Unpin for OutputSlice
impl UnsafeUnpin for OutputSlice
impl UnwindSafe for OutputSlicewhere
RawVecInner: UnwindSafe,
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