pub trait CarriesBug {
// Required method
fn bug(&self) -> Option<&Bug>;
}Expand description
An error that may carry a bug: work its call ran panicked, and the call’s error says so (E15). Work nobody waits for reports the bug its error carries, as it reports its own panic.
Required Methods§
Implementations on Foreign Types§
Source§impl CarriesBug for Infallible
An error that can’t happen carries no bug.
impl CarriesBug for Infallible
An error that can’t happen carries no bug.
Source§impl CarriesBug for Error
An I/O error carries the bug it was made from, if any.
impl CarriesBug for Error
An I/O error carries the bug it was made from, if any.