Struct avm_server::AVMConfig
source · [−]pub struct AVMConfig<E> {
pub air_wasm_path: PathBuf,
pub current_peer_id: String,
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.
current_peer_id: StringCurrent peer id.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more