Enum wasmtime_wiggle::witx::ValidationError [−][src]
pub enum ValidationError { UnknownName { name: String, location: Location, }, NameAlreadyExists { name: String, at_location: Location, previous_location: Location, }, WrongKindName { name: String, location: Location, expected: &'static str, got: &'static str, }, Recursive { name: String, location: Location, }, InvalidRepr { repr: BuiltinType, location: Location, }, Abi { reason: String, location: Location, }, AnonymousRecord { location: Location, }, UnionSizeMismatch { expected: usize, found: usize, location: Location, }, InvalidUnionTag { reason: String, location: Location, }, InvalidUnionField { name: String, reason: String, location: Location, }, }
Variants
Show fields
Show fields
Fields of InvalidRepr
repr: BuiltinType
location: Location
Show fields
Fields of AnonymousRecord
location: Location
Implementations
impl ValidationError
[src]
impl ValidationError
[src]Trait Implementations
impl Debug for ValidationError
[src]
impl Debug for ValidationError
[src]impl Display for ValidationError
[src]
impl Display for ValidationError
[src]impl Error for ValidationError
[src]
impl Error for ValidationError
[src]fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[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<ValidationError> for WitxError
[src]
impl From<ValidationError> for WitxError
[src]pub fn from(source: ValidationError) -> WitxError
[src]
pub fn from(source: ValidationError) -> WitxError
[src]Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ValidationError
impl Send for ValidationError
impl Sync for ValidationError
impl Unpin for ValidationError
impl UnwindSafe for ValidationError
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> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]
fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]
fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,