pub enum WasiError {
ParseError(String),
ValidationError(String),
CompilationError(String),
Other(String),
}Expand description
WASI 错误类型
Variants§
ParseError(String)
解析错误
ValidationError(String)
验证错误
CompilationError(String)
编译错误
Other(String)
其他错误
Trait Implementations§
Source§impl Error for WasiError
impl Error for WasiError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 Freeze for WasiError
impl RefUnwindSafe for WasiError
impl Send for WasiError
impl Sync for WasiError
impl Unpin for WasiError
impl UnsafeUnpin for WasiError
impl UnwindSafe for WasiError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more