Struct air_test_utils::AVMConfig
source · pub struct AVMConfig<E> {
pub air_wasm_path: PathBuf,
pub max_heap_size: Option<u64>,
pub logging_mask: i32,
pub data_store: Box<dyn DataStore<Error = E> + Sync + Send + 'static, Global>,
}
Expand description
Describes behaviour of the AVM.
Fields§
§air_wasm_path: PathBuf
Path to a AIR interpreter Wasm file.
max_heap_size: Option<u64>
Maximum heap size in bytes available for the interpreter.
logging_mask: i32
Mask used to filter logs, for details see log_utf8_string
in fluence-faas.
data_store: Box<dyn DataStore<Error = E> + Sync + Send + 'static, Global>
Auto Trait Implementations§
impl<E> !RefUnwindSafe for AVMConfig<E>
impl<E> Send for AVMConfig<E>
impl<E> Sync for AVMConfig<E>
impl<E> Unpin for AVMConfig<E>
impl<E> !UnwindSafe for AVMConfig<E>
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.