pub struct InvalidParamCount {
pub expected: usize,
pub params: usize,
}
Fields§
§expected: usize
§params: usize
Trait Implementations§
Source§impl Debug for InvalidParamCount
impl Debug for InvalidParamCount
Source§impl Display for InvalidParamCount
impl Display for InvalidParamCount
Source§impl Error for InvalidParamCount
impl Error for InvalidParamCount
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<InvalidParamCount> for Error
impl From<InvalidParamCount> for Error
Source§fn from(e: InvalidParamCount) -> Self
fn from(e: InvalidParamCount) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InvalidParamCount
impl RefUnwindSafe for InvalidParamCount
impl Send for InvalidParamCount
impl Sync for InvalidParamCount
impl Unpin for InvalidParamCount
impl UnwindSafe for InvalidParamCount
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