pub enum WasmValueTypeError {
Empty,
Unknown,
}Expand description
Error returned when a WebAssembly value type cannot be parsed.
Variants§
Empty
The supplied label was empty.
Unknown
The supplied label or byte code is not a known value type.
Trait Implementations§
Source§impl Clone for WasmValueTypeError
impl Clone for WasmValueTypeError
Source§fn clone(&self) -> WasmValueTypeError
fn clone(&self) -> WasmValueTypeError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WasmValueTypeError
impl Debug for WasmValueTypeError
Source§impl Display for WasmValueTypeError
impl Display for WasmValueTypeError
Source§impl Error for WasmValueTypeError
impl Error for WasmValueTypeError
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 Hash for WasmValueTypeError
impl Hash for WasmValueTypeError
Source§impl Ord for WasmValueTypeError
impl Ord for WasmValueTypeError
Source§fn cmp(&self, other: &WasmValueTypeError) -> Ordering
fn cmp(&self, other: &WasmValueTypeError) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WasmValueTypeError
impl PartialEq for WasmValueTypeError
Source§fn eq(&self, other: &WasmValueTypeError) -> bool
fn eq(&self, other: &WasmValueTypeError) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for WasmValueTypeError
impl PartialOrd for WasmValueTypeError
impl Copy for WasmValueTypeError
impl Eq for WasmValueTypeError
impl StructuralPartialEq for WasmValueTypeError
Auto Trait Implementations§
impl Freeze for WasmValueTypeError
impl RefUnwindSafe for WasmValueTypeError
impl Send for WasmValueTypeError
impl Sync for WasmValueTypeError
impl Unpin for WasmValueTypeError
impl UnsafeUnpin for WasmValueTypeError
impl UnwindSafe for WasmValueTypeError
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