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 LocalFileError
impl CarriesBug for LocalFileError
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.
Source§impl<E> CarriesBug for SnapshotWriteError<E>where
E: CarriesBug,
impl<E> CarriesBug for SnapshotWriteError<E>where
E: CarriesBug,
Source§impl<E> CarriesBug for UploadReadError<E>where
E: CarriesBug,
Available on crate features test-utils only.
impl<E> CarriesBug for UploadReadError<E>where
E: CarriesBug,
Available on crate features
test-utils only.