Enum fluence_app_service::FaaSError [−][src]
pub enum FaaSError { InvalidConfig(String), InstantiationError { module_import_name: String, modules_dir: Option<PathBuf>, provided_modules: Vec<String, Global>, }, 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.
Marine errors.
Trait Implementations
impl Error for FaaSError
[src]
impl Error for FaaSError
[src]pub fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
pub 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) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
impl From<FaaSError> for AppServiceError
[src]
impl From<FaaSError> for AppServiceError
[src]impl From<Infallible> for FaaSError
[src]
impl From<Infallible> for FaaSError
[src]pub fn from(Infallible) -> FaaSError
[src]
pub fn from(Infallible) -> FaaSError
[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 T
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self