pub struct ProblemAsError {
pub problem: Problem,
}Expand description
Fields§
§problem: ProblemProblem.
Trait Implementations§
Source§impl Debug for ProblemAsError
impl Debug for ProblemAsError
Source§impl Display for ProblemAsError
impl Display for ProblemAsError
Source§impl Error for ProblemAsError
impl Error for ProblemAsError
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()
Auto Trait Implementations§
impl Freeze for ProblemAsError
impl !RefUnwindSafe for ProblemAsError
impl Send for ProblemAsError
impl Sync for ProblemAsError
impl Unpin for ProblemAsError
impl !UnwindSafe for ProblemAsError
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
Source§impl<ToStringT> IntoCommonProblem for ToStringTwhere
ToStringT: ToString,
impl<ToStringT> IntoCommonProblem for ToStringTwhere
ToStringT: ToString,
Source§fn gloss(self) -> Problem
fn gloss(self) -> Problem
Into a GlossError problem.
Source§fn into_thread_problem(self) -> Problem
fn into_thread_problem(self) -> Problem
Into a ThreadError problem.
Source§impl<ErrorT> IntoProblem for ErrorT
impl<ErrorT> IntoProblem for ErrorT
Source§fn into_problem(self) -> Problem
fn into_problem(self) -> Problem
Into a Problem.
Source§impl<ErrorT> IntoSerdeProblem for ErrorT
impl<ErrorT> IntoSerdeProblem for ErrorT
Source§fn into_serde_serialize_problem(self) -> SerdeProblem
fn into_serde_serialize_problem(self) -> SerdeProblem
Available on crate feature
serde only.Source§fn into_serde_deserialize_problem(self) -> SerdeProblem
fn into_serde_deserialize_problem(self) -> SerdeProblem
Available on crate feature
serde only.Source§impl<ErrorT> IterateErrorSources for ErrorTwhere
ErrorT: 'static + Error,
impl<ErrorT> IterateErrorSources for ErrorTwhere
ErrorT: 'static + Error,
Source§fn iter_sources<'this>(&'this self) -> ErrorSourceIterator<'this> ⓘ
fn iter_sources<'this>(&'this self) -> ErrorSourceIterator<'this> ⓘ
Iterate the Error::source chain.