pub enum UnrecoverableError {
Report(Report),
Infallible(Infallible),
}
Variants§
Report(Report)
Infallible(Infallible)
Implementations§
Source§impl UnrecoverableError
impl UnrecoverableError
pub fn unwrap_report(self) -> Report
pub fn unwrap_infallible(self) -> Infallible
Source§impl UnrecoverableError
impl UnrecoverableError
pub fn into_report(self) -> Report
Trait Implementations§
Source§impl Debug for UnrecoverableError
impl Debug for UnrecoverableError
Source§impl From<Infallible> for UnrecoverableError
impl From<Infallible> for UnrecoverableError
Source§fn from(original: Infallible) -> UnrecoverableError
fn from(original: Infallible) -> UnrecoverableError
Converts to this type from the input type.
Source§impl From<Report> for UnrecoverableError
impl From<Report> for UnrecoverableError
Source§fn from(original: Report) -> UnrecoverableError
fn from(original: Report) -> UnrecoverableError
Converts to this type from the input type.
Source§impl Reportable for UnrecoverableError
impl Reportable for UnrecoverableError
Auto Trait Implementations§
impl Freeze for UnrecoverableError
impl RefUnwindSafe for UnrecoverableError
impl Send for UnrecoverableError
impl Sync for UnrecoverableError
impl Unpin for UnrecoverableError
impl UnwindSafe for UnrecoverableError
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