pub enum WasiError {
Empty,
Invalid,
Unknown,
}Expand description
Error returned when WASI primitive labels are invalid.
Variants§
Empty
The supplied label was empty.
Invalid
The supplied label contains unsupported characters.
Unknown
The supplied label is unknown for the requested enum.
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()
Source§impl Ord for WasiError
impl Ord for WasiError
Source§impl PartialOrd for WasiError
impl PartialOrd for WasiError
impl Copy for WasiError
impl Eq for WasiError
impl StructuralPartialEq for WasiError
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