pub struct SidecarStatus {
pub pid: u32,
pub requests_sent: u64,
pub events_buffered: usize,
pub events_dropped: u64,
pub stderr_bytes: usize,
pub stderr_dropped_bytes: u64,
pub process: Option<ProcessUsage>,
}Expand description
Runtime figures of a running sidecar, computed on call by Sidecar::status.
Fields§
§pid: u32§requests_sent: u64Requests sent so far (the frame sequence).
events_buffered: usizeFrames held in Sidecar::events (neither hello nor an awaited response). Bounded: at most
twice the event limit, default 2,048 frames.
events_dropped: u64Frames trimmed from Sidecar::events since the sidecar started.
stderr_bytes: usizeBytes of engine stderr kept in memory: the last stderr limit’s worth (default 256 KiB).
stderr_dropped_bytes: u64Bytes of engine stderr trimmed from memory since the sidecar started.
process: Option<ProcessUsage>Resident memory, CPU time and I/O counters of the harness process (the sidecar’s reader
threads run in it; the engine child is a separate process), or None when the host cannot
report them. See rightkit_child_process::ProcessUsage.
Trait Implementations§
Source§impl Clone for SidecarStatus
impl Clone for SidecarStatus
impl Copy for SidecarStatus
Source§impl Debug for SidecarStatus
impl Debug for SidecarStatus
Source§impl PartialEq for SidecarStatus
impl PartialEq for SidecarStatus
impl StructuralPartialEq for SidecarStatus
Auto Trait Implementations§
impl Freeze for SidecarStatus
impl RefUnwindSafe for SidecarStatus
impl Send for SidecarStatus
impl Sync for SidecarStatus
impl Unpin for SidecarStatus
impl UnsafeUnpin for SidecarStatus
impl UnwindSafe for SidecarStatus
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