pub enum EncodeDataError {
Unknown(String),
UnsupportType(String),
TypeDefinitionNotFound(String),
EndTuple,
StartTuple,
UnclosedTuple,
Empty,
Bytes32OutofRange(String),
IntOutofRange(String),
}Available on crate feature
eip712 only.Variants§
Unknown(String)
UnsupportType(String)
TypeDefinitionNotFound(String)
EndTuple
StartTuple
UnclosedTuple
Empty
Bytes32OutofRange(String)
IntOutofRange(String)
Trait Implementations§
Source§impl Debug for EncodeDataError
impl Debug for EncodeDataError
Source§impl Display for EncodeDataError
impl Display for EncodeDataError
Source§impl Error for EncodeDataError
impl Error for EncodeDataError
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 Error for EncodeDataError
impl Error for EncodeDataError
Source§impl From<EncodeDataError> for Error
impl From<EncodeDataError> for Error
Source§fn from(source: EncodeDataError) -> Self
fn from(source: EncodeDataError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EncodeDataError
impl RefUnwindSafe for EncodeDataError
impl Send for EncodeDataError
impl Sync for EncodeDataError
impl Unpin for EncodeDataError
impl UnwindSafe for EncodeDataError
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