pub struct PhasedError {
pub phase: Phase,
pub kind: PhasedErrorKind,
/* private fields */
}Expand description
A structure representing an error that occurred within a phased cell.
It contains the phase in which the error occurred, the kind of error, and an optional source error for more context.
Fields§
§phase: PhaseThe phase in which the error occurred.
kind: PhasedErrorKindThe kind of error that occurred.
Trait Implementations§
Source§impl Debug for PhasedError
impl Debug for PhasedError
Source§impl Display for PhasedError
impl Display for PhasedError
Source§impl Error for PhasedError
impl Error for PhasedError
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 PhasedError
impl !RefUnwindSafe for PhasedError
impl Send for PhasedError
impl Sync for PhasedError
impl Unpin for PhasedError
impl !UnwindSafe for PhasedError
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