Struct fluence_faas::ModuleMemoryStat
source · [−]Expand description
Contains module name and a size of its linear memory in bytes. Please note that linear memory contains not only heap, but globals, shadow stack and so on. Although it doesn’t contain operand stack, additional runtime (Wasmer) structures, and some other stuff, that should be count separately.
Fields
name: &'module_name strmemory_size: usizeTrait Implementations
sourceimpl<'module_name> Debug for ModuleMemoryStat<'module_name>
impl<'module_name> Debug for ModuleMemoryStat<'module_name>
Auto Trait Implementations
impl<'module_name> RefUnwindSafe for ModuleMemoryStat<'module_name>
impl<'module_name> Send for ModuleMemoryStat<'module_name>
impl<'module_name> Sync for ModuleMemoryStat<'module_name>
impl<'module_name> Unpin for ModuleMemoryStat<'module_name>
impl<'module_name> UnwindSafe for ModuleMemoryStat<'module_name>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more