pub struct PaneStats {
pub bytes_consumed: u64,
pub scrollback_lines: u32,
pub seconds_since_last_byte: u32,
}Expand description
Lightweight statistics surfaced by tear list and by the daemon’s
status-bar refresh loop. Doesn’t include the full grid contents —
for that the consumer reaches into tear-core directly.
Fields§
§bytes_consumed: u64Bytes consumed by the VT parser since pane spawn. Used for
% active displays and for sampling decisions in tier-3
(mado embedding tear-core).
scrollback_lines: u32Number of complete scrollback lines pushed off the visible grid.
seconds_since_last_byte: u32Wall-clock-seconds since the last byte arrived. The status
bar can render idle 12m directly from this.
Trait Implementations§
impl Copy for PaneStats
Source§impl<'de> Deserialize<'de> for PaneStats
impl<'de> Deserialize<'de> for PaneStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PaneStats
impl StructuralPartialEq for PaneStats
Auto Trait Implementations§
impl Freeze for PaneStats
impl RefUnwindSafe for PaneStats
impl Send for PaneStats
impl Sync for PaneStats
impl Unpin for PaneStats
impl UnsafeUnpin for PaneStats
impl UnwindSafe for PaneStats
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