pub enum TypeParamsError {
Number {
expected: usize,
got: usize,
},
TypeTag(Box<TypeTagError>),
}Variants§
Trait Implementations§
Source§impl Debug for TypeParamsError
impl Debug for TypeParamsError
Source§impl Display for TypeParamsError
impl Display for TypeParamsError
Source§impl Error for TypeParamsError
impl Error for TypeParamsError
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 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.
Source§impl From<TypeTagError> for TypeParamsError
impl From<TypeTagError> for TypeParamsError
Source§fn from(value: TypeTagError) -> Self
fn from(value: TypeTagError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TypeParamsError
impl RefUnwindSafe for TypeParamsError
impl Send for TypeParamsError
impl Sync for TypeParamsError
impl Unpin for TypeParamsError
impl UnwindSafe for TypeParamsError
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