pub struct SchemaAuthorityError { /* private fields */ }Expand description
A fail-closed schema-authority failure retaining nested diagnostics.
Implementations§
Source§impl SchemaAuthorityError
impl SchemaAuthorityError
Sourcepub const fn code(&self) -> SchemaAuthorityErrorCode
pub const fn code(&self) -> SchemaAuthorityErrorCode
Return the stable high-level failure classification.
Sourcepub fn contract(&self) -> Option<&Diagnostic>
pub fn contract(&self) -> Option<&Diagnostic>
Return the nested contract diagnostic, when one caused the failure.
Sourcepub fn schema(&self) -> Option<&SchemaDiagnostics>
pub fn schema(&self) -> Option<&SchemaDiagnostics>
Return nested schema diagnostics, when reconstruction or resolution failed.
Trait Implementations§
Source§impl Clone for SchemaAuthorityError
impl Clone for SchemaAuthorityError
Source§impl Debug for SchemaAuthorityError
impl Debug for SchemaAuthorityError
Source§impl Display for SchemaAuthorityError
impl Display for SchemaAuthorityError
impl Eq for SchemaAuthorityError
Source§impl Error for SchemaAuthorityError
impl Error for SchemaAuthorityError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<DeltaError> for SchemaAuthorityError
impl From<DeltaError> for SchemaAuthorityError
Source§fn from(value: DeltaError) -> Self
fn from(value: DeltaError) -> Self
Converts to this type from the input type.
Source§impl From<Diagnostic> for SchemaAuthorityError
impl From<Diagnostic> for SchemaAuthorityError
Source§fn from(value: Diagnostic) -> Self
fn from(value: Diagnostic) -> Self
Converts to this type from the input type.
Source§impl From<SchemaDiagnostics> for SchemaAuthorityError
impl From<SchemaDiagnostics> for SchemaAuthorityError
Source§fn from(value: SchemaDiagnostics) -> Self
fn from(value: SchemaDiagnostics) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SchemaAuthorityError
impl PartialEq for SchemaAuthorityError
impl StructuralPartialEq for SchemaAuthorityError
Auto Trait Implementations§
impl Freeze for SchemaAuthorityError
impl RefUnwindSafe for SchemaAuthorityError
impl Send for SchemaAuthorityError
impl Sync for SchemaAuthorityError
impl Unpin for SchemaAuthorityError
impl UnsafeUnpin for SchemaAuthorityError
impl UnwindSafe for SchemaAuthorityError
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