pub struct RuntimeUsage {
pub wall_time_ms: u64,
pub cpu_time_ms: u64,
pub peak_memory_bytes: u64,
pub network_rx_bytes: u64,
pub network_tx_bytes: u64,
pub storage_read_bytes: u64,
pub storage_write_bytes: u64,
}Fields§
§wall_time_ms: u64§cpu_time_ms: u64§peak_memory_bytes: u64§network_rx_bytes: u64§network_tx_bytes: u64§storage_read_bytes: u64§storage_write_bytes: u64Trait Implementations§
Source§impl Clone for RuntimeUsage
impl Clone for RuntimeUsage
Source§fn clone(&self) -> RuntimeUsage
fn clone(&self) -> RuntimeUsage
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 RuntimeUsage
impl Debug for RuntimeUsage
Source§impl<'de> Deserialize<'de> for RuntimeUsage
impl<'de> Deserialize<'de> for RuntimeUsage
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 RuntimeUsage
Source§impl PartialEq for RuntimeUsage
impl PartialEq for RuntimeUsage
Source§impl Serialize for RuntimeUsage
impl Serialize for RuntimeUsage
impl StructuralPartialEq for RuntimeUsage
Auto Trait Implementations§
impl Freeze for RuntimeUsage
impl RefUnwindSafe for RuntimeUsage
impl Send for RuntimeUsage
impl Sync for RuntimeUsage
impl Unpin for RuntimeUsage
impl UnsafeUnpin for RuntimeUsage
impl UnwindSafe for RuntimeUsage
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