Enum wasmtime_provider::errors::Error
source · pub enum Error {
InitializationFailed(Box<dyn Error + Send + Sync>),
InitializationFailedTimeout(String),
GuestCallNotFound,
WasiDisabled,
WasiInitCtxError(String),
LinkerFuncDef {
func: String,
err: String,
},
BuilderInvalidConfig(String),
Generic(Error),
}Expand description
This crate’s Error type
Variants§
InitializationFailed(Box<dyn Error + Send + Sync>)
Wasmtime initialization failed
InitializationFailedTimeout(String)
Wasmtime initialization failed
GuestCallNotFound
The guest call function was not exported by the guest.
WasiDisabled
Error originating when wasi feature is disabled, but the user provides wasi related params
WasiInitCtxError(String)
Error originating when wasi context initialization fails
LinkerFuncDef
Error caused when a host function cannot be registered into a wasmtime::Linker
BuilderInvalidConfig(String)
Error caused by an invalid configuration of the [WasmtimeEngineProviderBuilder]
Generic(Error)
Generic error
Trait Implementations§
source§impl Error for Error
impl Error for Error
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations§
§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
Query the “status” flags for the
self file descriptor.