pub enum RecoveryErrorDetail {
UnsupportedFormatVersion {
found: Option<u16>,
required: u16,
},
MalformedFormatMarker {
reason: RecoveryFormatMarkerError,
},
}Expand description
RecoveryErrorDetail
Recovery-origin structured error detail payload.
Variants§
Implementations§
Source§impl RecoveryErrorDetail
impl RecoveryErrorDetail
Sourcepub const fn diagnostic_code(&self) -> DiagnosticCode
pub const fn diagnostic_code(&self) -> DiagnosticCode
Return the compact diagnostic code for this recovery detail.
Sourcepub const fn diagnostic_detail(&self) -> Option<DiagnosticDetail>
pub const fn diagnostic_detail(&self) -> Option<DiagnosticDetail>
Return compact structured diagnostic detail for this recovery detail.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RecoveryErrorDetail
impl RefUnwindSafe for RecoveryErrorDetail
impl Send for RecoveryErrorDetail
impl Sync for RecoveryErrorDetail
impl Unpin for RecoveryErrorDetail
impl UnsafeUnpin for RecoveryErrorDetail
impl UnwindSafe for RecoveryErrorDetail
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