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

Path to a AIR interpreter Wasm file.

§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

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more