Struct air_test_utils::prelude::AVMMemoryStats
source · pub struct AVMMemoryStats {
pub memory_size: usize,
pub max_memory_size: Option<usize>,
}
Expand description
Return statistic of AVM server Wasm module heap footprint.
Fields§
§memory_size: usize
Size of currently used linear memory in bytes. Please note that linear memory contains not only heap, but globals, shadow stack and so on.
max_memory_size: Option<usize>
Possibly set max memory size for AVM server.
Auto Trait Implementations§
impl RefUnwindSafe for AVMMemoryStats
impl Send for AVMMemoryStats
impl Sync for AVMMemoryStats
impl Unpin for AVMMemoryStats
impl UnwindSafe for AVMMemoryStats
Blanket Implementations§
§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where T: AsFilelike,
Query the “status” flags for the
self
file descriptor.