pub struct SandboxStats {
pub total_calls: u64,
pub successful_calls: u64,
pub failed_calls: u64,
pub fuel_consumed: u64,
pub total_execution_time: Duration,
pub peak_memory_bytes: usize,
pub host_calls: u64,
pub host_call_errors: u64,
}Expand description
Statistics for a sandbox
Fields§
§total_calls: u64Total invocations
successful_calls: u64Successful invocations
failed_calls: u64Failed invocations
fuel_consumed: u64Total fuel consumed
total_execution_time: DurationTotal execution time
peak_memory_bytes: usizePeak memory usage
host_calls: u64Host calls made
host_call_errors: u64Host call errors
Trait Implementations§
Source§impl Clone for SandboxStats
impl Clone for SandboxStats
Source§fn clone(&self) -> SandboxStats
fn clone(&self) -> SandboxStats
Returns a duplicate of the value. Read more
1.0.0 · 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 SandboxStats
impl Debug for SandboxStats
Source§impl Default for SandboxStats
impl Default for SandboxStats
Source§fn default() -> SandboxStats
fn default() -> SandboxStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SandboxStats
impl RefUnwindSafe for SandboxStats
impl Send for SandboxStats
impl Sync for SandboxStats
impl Unpin for SandboxStats
impl UnsafeUnpin for SandboxStats
impl UnwindSafe for SandboxStats
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