pub enum DiagnosticDetail {
QueryKind {
kind: QueryErrorKind,
},
RuntimeKind {
kind: RuntimeErrorKind,
},
RuntimeBoundary {
boundary: RuntimeBoundaryCode,
},
SchemaDdlAdmission {
reason: SchemaDdlAdmissionCode,
},
UnsupportedSqlFeature {
feature: SqlFeatureCode,
},
SqlSurfaceMismatch {
mismatch: SqlSurfaceMismatchCode,
},
SqlWriteBoundary {
boundary: SqlWriteBoundaryCode,
},
QueryProjection {
reason: QueryProjectionCode,
},
QueryResultShape {
reason: QueryResultShapeCode,
},
SqlLowering {
reason: SqlLoweringCode,
},
}Expand description
DiagnosticDetail
Small structured diagnostic payload for callers and CLI rendering.
Variants§
QueryKind
Fields
§
kind: QueryErrorKindRuntimeKind
Fields
§
kind: RuntimeErrorKindRuntimeBoundary
Fields
§
boundary: RuntimeBoundaryCodeSchemaDdlAdmission
Fields
§
reason: SchemaDdlAdmissionCodeUnsupportedSqlFeature
Fields
§
feature: SqlFeatureCodeSqlSurfaceMismatch
Fields
§
mismatch: SqlSurfaceMismatchCodeSqlWriteBoundary
Fields
§
boundary: SqlWriteBoundaryCodeQueryProjection
Fields
§
reason: QueryProjectionCodeQueryResultShape
Fields
§
reason: QueryResultShapeCodeSqlLowering
Fields
§
reason: SqlLoweringCodeTrait Implementations§
Source§impl Clone for DiagnosticDetail
impl Clone for DiagnosticDetail
Source§fn clone(&self) -> DiagnosticDetail
fn clone(&self) -> DiagnosticDetail
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DiagnosticDetail
Source§impl Debug for DiagnosticDetail
impl Debug for DiagnosticDetail
impl Eq for DiagnosticDetail
Source§impl PartialEq for DiagnosticDetail
impl PartialEq for DiagnosticDetail
Source§fn eq(&self, other: &DiagnosticDetail) -> bool
fn eq(&self, other: &DiagnosticDetail) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DiagnosticDetail
Auto Trait Implementations§
impl Freeze for DiagnosticDetail
impl RefUnwindSafe for DiagnosticDetail
impl Send for DiagnosticDetail
impl Sync for DiagnosticDetail
impl Unpin for DiagnosticDetail
impl UnsafeUnpin for DiagnosticDetail
impl UnwindSafe for DiagnosticDetail
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