Enum fluence_faas::FaaSError[][src]

pub enum FaaSError {
    InvalidConfig(String),
    InstantiationError {
        module_import_name: String,
        modules_dir: Option<PathBuf>,
        provided_modules: Vec<String>,
    },
    IOError(String),
    MissingFunctionError(String),
    MissingArgumentError(String),
    NoSuchModule(String),
    JsonArgumentsDeserializationError(String),
    JsonOutputSerializationError(String),
    ParseConfigError(Error),
    MaxHeapSizeOverflow {
        max_heap_size_wanted: u64,
        max_heap_size_allowed: u64,
    },
    EngineError(MError),
}

Variants

InvalidConfig(String)

Tuple Fields

0: String

Errors that happened due to invalid config content

InstantiationError

Fields

module_import_name: String
modules_dir: Option<PathBuf>
provided_modules: Vec<String>

An error occurred at the instantiation step.

IOError(String)

Tuple Fields

0: String

Various errors related to file i/o.

MissingFunctionError(String)

Tuple Fields

0: String

A function with specified name is missing.

MissingArgumentError(String)

Tuple Fields

0: String

An argument with specified name is missing.

NoSuchModule(String)

Tuple Fields

0: String

Returns when there is no module with such name.

JsonArgumentsDeserializationError(String)

Tuple Fields

0: String

Provided arguments aren’t compatible with a called function signature.

JsonOutputSerializationError(String)

Tuple Fields

0: String

Returned outputs aren’t compatible with a called function signature.

ParseConfigError(Error)

Tuple Fields

0: Error

Errors related to invalid config.

MaxHeapSizeOverflow

Fields

max_heap_size_wanted: u64
max_heap_size_allowed: u64

Errors related to invalid config.

EngineError(MError)

Tuple Fields

0: MError

Marine errors.

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

The lower-level source of this error, if any. Read more

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

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

Converts the given value to a String. Read more

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.