#[repr(u16)]pub enum DiagnosticCode {
Runtime = 1,
Registration = 2,
ExcelCall = 3,
ThunkFailure = 4,
ReturnFailure = 5,
ReleaseFailure = 6,
OwnershipInvariant = 7,
SinkPanic = 8,
Dispatcher = 9,
}Expand description
Stable machine-readable diagnostic code. Formatting belongs to consumers.
Variants§
Runtime = 1
Runtime initialization, closing, or lifecycle state.
Registration = 2
Function or command registration work.
ExcelCall = 3
A typed Excel C API invocation.
ThunkFailure = 4
A generated callback thunk contained a failure or panic.
ReturnFailure = 5
Return planning or materialization failed.
ReleaseFailure = 6
An owned resource could not be released as required.
OwnershipInvariant = 7
An internal ownership invariant was detected without panicking.
SinkPanic = 8
A consumer-provided diagnostic sink panicked.
Dispatcher = 9
Cooperative dispatcher admission, drain, or retirement activity.
Trait Implementations§
Source§impl Clone for DiagnosticCode
impl Clone for DiagnosticCode
impl Copy for DiagnosticCode
Source§impl Debug for DiagnosticCode
impl Debug for DiagnosticCode
impl Eq for DiagnosticCode
Source§impl PartialEq for DiagnosticCode
impl PartialEq for DiagnosticCode
impl StructuralPartialEq for DiagnosticCode
Auto Trait Implementations§
impl Freeze for DiagnosticCode
impl RefUnwindSafe for DiagnosticCode
impl Send for DiagnosticCode
impl Sync for DiagnosticCode
impl Unpin for DiagnosticCode
impl UnsafeUnpin for DiagnosticCode
impl UnwindSafe for DiagnosticCode
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