struct BugRepr {
message: String,
location: &'static Location<'static>,
backtrace: Captured,
source: Option<Arc<dyn Error + Send + Sync + 'static>>,
kind: ErrorKind,
}Expand description
Internal error (a bug)
Fields§
§message: StringMessage, usually from internal!() like format!
location: &'static Location<'static>File and line number
backtrace: CapturedBacktrace, perhaps
source: Option<Arc<dyn Error + Send + Sync + 'static>>Source, perhaps
kind: ErrorKindKind
Internal or BadApiUsage
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BugRepr
impl !RefUnwindSafe for BugRepr
impl Send for BugRepr
impl Sync for BugRepr
impl Unpin for BugRepr
impl UnsafeUnpin for BugRepr
impl !UnwindSafe for BugRepr
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