Struct avm_server::AVMConfig
source · pub struct AVMConfig<E> {
pub air_wasm_path: PathBuf,
pub max_heap_size: Option<u64>,
pub logging_mask: i32,
pub data_store: AVMDataStore<E>,
}Expand description
Describes behaviour of the AVM.
Fields§
§air_wasm_path: PathBufPath to a AIR interpreter Wasm file.
max_heap_size: Option<u64>Maximum heap size in bytes available for the interpreter.
logging_mask: i32Mask used to filter logs, for details see log_utf8_string in fluence-faas.
data_store: AVMDataStore<E>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§
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.