pub struct CollectedPaneOutput {
pub bytes: Vec<u8>,
pub exit_state: Option<PaneExitState>,
pub truncated: bool,
pub lagged: bool,
pub missed_events: u64,
}Expand description
Raw pane output collected while waiting for a pane process to exit.
Fields§
§bytes: Vec<u8>Raw bytes emitted by the pane after collection started.
The bytes are copied directly from PaneOutputChunk::Bytes items and
are capped by the caller-supplied byte limit.
exit_state: Option<PaneExitState>Exit details observed after the output stream closed.
None means the pane slot was already stale or vanished before the
daemon could expose retained exit metadata.
truncated: boolWhether output bytes were dropped because bytes reached the supplied
byte limit.
lagged: boolWhether the underlying output stream reported at least one lag gap.
missed_events: u64Total missed output events reported by lag notices.
Implementations§
Trait Implementations§
Source§impl Clone for CollectedPaneOutput
impl Clone for CollectedPaneOutput
Source§fn clone(&self) -> CollectedPaneOutput
fn clone(&self) -> CollectedPaneOutput
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 CollectedPaneOutput
impl Debug for CollectedPaneOutput
Source§impl Default for CollectedPaneOutput
impl Default for CollectedPaneOutput
Source§fn default() -> CollectedPaneOutput
fn default() -> CollectedPaneOutput
Returns the “default value” for a type. Read more
impl Eq for CollectedPaneOutput
Source§impl Hash for CollectedPaneOutput
impl Hash for CollectedPaneOutput
Source§impl PartialEq for CollectedPaneOutput
impl PartialEq for CollectedPaneOutput
Source§fn eq(&self, other: &CollectedPaneOutput) -> bool
fn eq(&self, other: &CollectedPaneOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CollectedPaneOutput
Auto Trait Implementations§
impl Freeze for CollectedPaneOutput
impl RefUnwindSafe for CollectedPaneOutput
impl Send for CollectedPaneOutput
impl Sync for CollectedPaneOutput
impl Unpin for CollectedPaneOutput
impl UnsafeUnpin for CollectedPaneOutput
impl UnwindSafe for CollectedPaneOutput
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