Enum fluence_faas::FaaSError
source · [−]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)
Errors that happened due to invalid config content
InstantiationError
An error occurred at the instantiation step.
IOError(String)
Various errors related to file i/o.
MissingFunctionError(String)
A function with specified name is missing.
MissingArgumentError(String)
An argument with specified name is missing.
NoSuchModule(String)
Returns when there is no module with such name.
JsonArgumentsDeserializationError(String)
Provided arguments aren’t compatible with a called function signature.
JsonOutputSerializationError(String)
Returned outputs aren’t compatible with a called function signature.
ParseConfigError(Error)
Errors related to invalid config.
MaxHeapSizeOverflow
Errors related to invalid config.
EngineError(MError)
Marine errors.
Trait Implementations
sourceimpl Error for FaaSError
impl Error for FaaSError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<Infallible> for FaaSError
impl From<Infallible> for FaaSError
sourcefn from(_: Infallible) -> Self
fn from(_: Infallible) -> Self
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for FaaSError
impl Send for FaaSError
impl Sync for FaaSError
impl Unpin for FaaSError
impl !UnwindSafe for FaaSError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more