pub enum AnswerError {
MissingKey(String),
TypeMismatch {
key: String,
expected: &'static str,
},
}Variants§
Trait Implementations§
Source§impl Debug for AnswerError
impl Debug for AnswerError
Source§impl Display for AnswerError
impl Display for AnswerError
Source§impl Error for AnswerError
impl Error for AnswerError
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<AnswerError> for BackendError
impl From<AnswerError> for BackendError
Source§fn from(source: AnswerError) -> Self
fn from(source: AnswerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AnswerError
impl RefUnwindSafe for AnswerError
impl Send for AnswerError
impl Sync for AnswerError
impl Unpin for AnswerError
impl UnwindSafe for AnswerError
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