pub enum TransformErrorKind<'source> {
IdIsNotDefined {
id: &'source str,
what: &'static str,
},
IdAlreadyDefined {
id: &'source str,
idx: u32,
what: &'static str,
},
LabelAndIdMismatch {
label: Option<&'source str>,
id: &'source str,
},
FuncTypeMismatch {
left_params: Vec<ValType>,
left_results: Vec<ValType>,
right_params: Vec<ValType>,
right_results: Vec<ValType>,
},
}
Variants§
Auto Trait Implementations§
impl<'source> RefUnwindSafe for TransformErrorKind<'source>
impl<'source> Send for TransformErrorKind<'source>
impl<'source> Sync for TransformErrorKind<'source>
impl<'source> Unpin for TransformErrorKind<'source>
impl<'source> UnwindSafe for TransformErrorKind<'source>
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