pub struct AnswerWriteError(/* private fields */);
Expand description
The error returned when Answer::write_to
fails.
Though the implementation details are hidden, the struct implements std::error::Error
and a human-friendly std::fmt::Display
implementation.
Trait Implementations§
Source§impl Debug for AnswerWriteError
impl Debug for AnswerWriteError
Source§impl Display for AnswerWriteError
impl Display for AnswerWriteError
Source§impl Error for AnswerWriteError
impl Error for AnswerWriteError
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()
Auto Trait Implementations§
impl Freeze for AnswerWriteError
impl !RefUnwindSafe for AnswerWriteError
impl Send for AnswerWriteError
impl Sync for AnswerWriteError
impl Unpin for AnswerWriteError
impl !UnwindSafe for AnswerWriteError
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