pub enum StructTagError {
Address {
expected: Address,
got: Address,
},
Module {
expected: Identifier,
got: Identifier,
},
Name {
expected: Identifier,
got: Identifier,
},
TypeParams(TypeParamsError),
}Variants§
Trait Implementations§
Source§impl Debug for StructTagError
impl Debug for StructTagError
Source§impl Display for StructTagError
impl Display for StructTagError
Source§impl Error for StructTagError
impl Error for StructTagError
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 From<StructTagError> for ParseStructTagError
impl From<StructTagError> for ParseStructTagError
Source§fn from(source: StructTagError) -> Self
fn from(source: StructTagError) -> Self
Converts to this type from the input type.
Source§impl From<StructTagError> for TypeTagError
impl From<StructTagError> for TypeTagError
Source§fn from(source: StructTagError) -> Self
fn from(source: StructTagError) -> Self
Converts to this type from the input type.
Source§impl From<TypeParamsError> for StructTagError
impl From<TypeParamsError> for StructTagError
Source§fn from(source: TypeParamsError) -> Self
fn from(source: TypeParamsError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StructTagError
impl RefUnwindSafe for StructTagError
impl Send for StructTagError
impl Sync for StructTagError
impl Unpin for StructTagError
impl UnwindSafe for StructTagError
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