pub enum TransformerError {
MissingField(String),
AbiParseError(ParseError),
AbiError(AbiError),
}Expand description
Errors thrown from the types that implement the Transformer trait.
Variants§
Trait Implementations§
source§impl Debug for TransformerError
impl Debug for TransformerError
source§impl Display for TransformerError
impl Display for TransformerError
source§impl Error for TransformerError
impl Error for TransformerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 From<AbiError> for TransformerError
impl From<AbiError> for TransformerError
source§impl From<ParseError> for TransformerError
impl From<ParseError> for TransformerError
source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for TransformerError
impl Send for TransformerError
impl Sync for TransformerError
impl Unpin for TransformerError
impl !UnwindSafe for TransformerError
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