pub struct SandboxRuntimeStats {
pub sandboxes_created: u64,
pub active_sandboxes: u64,
pub total_invocations: u64,
pub total_fuel_consumed: u64,
pub module_cache_hits: u64,
pub module_cache_misses: u64,
pub memory_violations: u64,
pub fuel_exhaustions: u64,
pub capability_denials: u64,
}Expand description
Global runtime statistics
Fields§
§sandboxes_created: u64Total sandboxes created
active_sandboxes: u64Active sandboxes
total_invocations: u64Total invocations across all sandboxes
total_fuel_consumed: u64Total fuel consumed
module_cache_hits: u64Cache hits
module_cache_misses: u64Cache misses
memory_violations: u64Memory violations
fuel_exhaustions: u64Fuel exhaustions
capability_denials: u64Capability denials
Trait Implementations§
Source§impl Clone for SandboxRuntimeStats
impl Clone for SandboxRuntimeStats
Source§fn clone(&self) -> SandboxRuntimeStats
fn clone(&self) -> SandboxRuntimeStats
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 SandboxRuntimeStats
impl Debug for SandboxRuntimeStats
Source§impl Default for SandboxRuntimeStats
impl Default for SandboxRuntimeStats
Source§fn default() -> SandboxRuntimeStats
fn default() -> SandboxRuntimeStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SandboxRuntimeStats
impl RefUnwindSafe for SandboxRuntimeStats
impl Send for SandboxRuntimeStats
impl Sync for SandboxRuntimeStats
impl Unpin for SandboxRuntimeStats
impl UnsafeUnpin for SandboxRuntimeStats
impl UnwindSafe for SandboxRuntimeStats
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