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: PathBuf

Path to a AIR interpreter Wasm file.

call_service: CallServiceClosure

Descriptor of a closure that will be invoked on call_service call from the AIR interpreter.

current_peer_id: String

Current peer id.

particle_data_store: PathBuf

Path 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: PathBuf

Path 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: i32

Mask used to filter logs, for details see log_utf8_string in fluence-faas.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.