Struct avm_server::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: usizeSize 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§
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
§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.