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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more