pub struct ActivityCounters {
pub host_messages: u64,
pub guest_messages: u64,
pub exec_output_bytes: u64,
pub fs_bytes: u64,
pub tcp_bytes: u64,
}Expand description
Cumulative counters for meaningful sandbox activity.
Fields§
§host_messages: u64Meaningful host-to-guest protocol messages.
guest_messages: u64Meaningful guest-to-host protocol messages.
exec_output_bytes: u64Bytes emitted by exec stdout, stderr, or PTY output.
fs_bytes: u64Bytes moved by filesystem streaming.
tcp_bytes: u64Bytes moved by TCP streaming.
Trait Implementations§
Source§impl Clone for ActivityCounters
impl Clone for ActivityCounters
Source§fn clone(&self) -> ActivityCounters
fn clone(&self) -> ActivityCounters
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 moreimpl Copy for ActivityCounters
Source§impl Debug for ActivityCounters
impl Debug for ActivityCounters
Source§impl Default for ActivityCounters
impl Default for ActivityCounters
Source§fn default() -> ActivityCounters
fn default() -> ActivityCounters
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ActivityCounters
impl<'de> Deserialize<'de> for ActivityCounters
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
Auto Trait Implementations§
impl Freeze for ActivityCounters
impl RefUnwindSafe for ActivityCounters
impl Send for ActivityCounters
impl Sync for ActivityCounters
impl Unpin for ActivityCounters
impl UnsafeUnpin for ActivityCounters
impl UnwindSafe for ActivityCounters
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