pub struct DisplayClient {
pub src: String,
pub process: String,
pub age_secs: u64,
pub pid: u32,
pub responsible_app: Option<String>,
pub current_rx_bps: u64,
pub current_tx_bps: u64,
pub viz_history: [u64; 12],
pub throughput_ready: bool,
}Fields§
§src: StringSource addr:port of the connected client. Reserved for the
expanded clients-list view; the heartbeat-dial dashboard does
not show it inline.
process: String§age_secs: u64§pid: u32Connecting process PID. Reserved for the expanded clients-list view.
responsible_app: Option<String>User-facing app that owns this socket on macOS. None if equal
to process or unavailable. See ClientPeer::responsible_app.
current_rx_bps: u64Per-client throughput readouts. Zero when no sample has been taken yet, or when the platform sampler does not produce per-client data.
current_tx_bps: u64§viz_history: [u64; 12]Rolling history of combined rx+tx bytes-per-second. Cell 0 is the oldest sample, the last cell is “now”.
throughput_ready: boolTrue after the per-client sampler has produced at least one sample. Lets the renderer distinguish “0 B/s, idle” from “no sampler available”.
Trait Implementations§
Source§impl Clone for DisplayClient
impl Clone for DisplayClient
Source§fn clone(&self) -> DisplayClient
fn clone(&self) -> DisplayClient
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 moreAuto Trait Implementations§
impl Freeze for DisplayClient
impl RefUnwindSafe for DisplayClient
impl Send for DisplayClient
impl Sync for DisplayClient
impl Unpin for DisplayClient
impl UnsafeUnpin for DisplayClient
impl UnwindSafe for DisplayClient
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more