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),
EngineError(MError),
}Variants
InvalidConfig(String)Errors that happened due to invalid config content
An error occurred at the instantiation step.
Show fields
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.
EngineError(MError)Marine errors.
Trait Implementations
impl Error for FaaSError[src]
impl Error for FaaSError[src]fn source(&self) -> Option<&(dyn Error + 'static)>[src]
fn source(&self) -> Option<&(dyn Error + 'static)>[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>[src]
fn backtrace(&self) -> Option<&Backtrace>[src]🔬 This is a nightly-only experimental API. (
backtrace)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str1.0.0[src]
fn description(&self) -> &str1.0.0[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
impl From<Infallible> for FaaSError[src]
impl From<Infallible> for FaaSError[src]fn from(_: Infallible) -> Self[src]
fn from(_: Infallible) -> Self[src]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
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for Timpl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
type Output = TShould always be Self