Struct krill::commons::error::FatalError
source · pub struct FatalError(pub Error);
Expand description
Wraps an error so horrible to contemplate that it should result in a server crash, as it would have lost its reason to live.
Note that we do not provide any From
Tuple Fields§
§0: Error
Trait Implementations§
source§impl Debug for FatalError
impl Debug for FatalError
Auto Trait Implementations§
impl !RefUnwindSafe for FatalError
impl Send for FatalError
impl Sync for FatalError
impl Unpin for FatalError
impl !UnwindSafe for FatalError
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Text for Twhere
T: Display,
impl<T> Text for Twhere
T: Display,
source§fn write_escaped(
&self,
mode: TextEscape,
target: &mut impl Write
) -> Result<(), Error>
fn write_escaped( &self, mode: TextEscape, target: &mut impl Write ) -> Result<(), Error>
Write text escaped for the given mode to
target
.