pub struct Config {
pub trace_only_funcs: Vec<String>,
pub start_address: Option<i64>,
pub page_limit: Option<i32>,
pub heap_trace: bool,
pub heap_pages: i32,
pub stub_wasi: bool,
}Fields§
§trace_only_funcs: Vec<String>§start_address: Option<i64>§page_limit: Option<i32>§heap_trace: boolStore traces in heap memory instead of stable memory
heap_pages: i32Number of WASM pages (64KB each) for heap trace buffer
stub_wasi: boolImplementations§
Source§impl Config
impl Config
pub fn is_preallocated(&self) -> bool
pub fn log_start_address(&self) -> i64
pub fn metadata_start_address(&self) -> i64
pub fn page_limit(&self) -> i64
Sourcepub fn heap_trace_size_limit(&self) -> i32
pub fn heap_trace_size_limit(&self) -> i32
Size limit for heap trace buffer in bytes
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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