Struct avm_server::AVMConfig [−][src]
pub struct AVMConfig {
pub air_wasm_path: PathBuf,
pub call_service: CallServiceClosure,
pub current_peer_id: String,
pub particle_data_store: PathBuf,
pub vault_dir: PathBuf,
pub logging_mask: i32,
}Expand description
Describes behaviour of the AVM.
Fields
air_wasm_path: PathBufPath to a AIR interpreter Wasm file.
call_service: CallServiceClosureDescriptor of a closure that will be invoked on call_service call from the AIR interpreter.
current_peer_id: StringCurrent peer id.
particle_data_store: PathBufPath to a folder contains prev data. AVM uses it to store data obtained after interpreter execution_step, and load it as a prev_data by particle_id.
vault_dir: PathBufPath to a directory to store shared directories called Particle File Vault. These directories are shared between services called in the span of a same particle execution.
logging_mask: i32Mask used to filter logs, for details see log_utf8_string in fluence-faas.