Struct avm_server::AVMConfig[][src]

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

Path to a AIR interpreter Wasm file.

current_peer_id: String

Current peer id.

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: AVMDataStore<E>

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.