pub enum SchemaFailureKind {
Unknown,
Transient,
Permanent,
Malformed,
}Expand description
Security-relevant class of a failed schema-registry lookup.
Variants§
Unknown
The registry answered that the schema ID does not exist.
Transient
No authoritative answer is available yet: transport, throttling, or 5xx.
Permanent
The registry definitively rejected the request, such as with another 4xx.
Malformed
A successful response could not be decoded into the required shape.
Trait Implementations§
Source§impl Clone for SchemaFailureKind
impl Clone for SchemaFailureKind
Source§fn clone(&self) -> SchemaFailureKind
fn clone(&self) -> SchemaFailureKind
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 SchemaFailureKind
Source§impl Debug for SchemaFailureKind
impl Debug for SchemaFailureKind
impl Eq for SchemaFailureKind
Source§impl PartialEq for SchemaFailureKind
impl PartialEq for SchemaFailureKind
impl StructuralPartialEq for SchemaFailureKind
Auto Trait Implementations§
impl Freeze for SchemaFailureKind
impl RefUnwindSafe for SchemaFailureKind
impl Send for SchemaFailureKind
impl Sync for SchemaFailureKind
impl Unpin for SchemaFailureKind
impl UnsafeUnpin for SchemaFailureKind
impl UnwindSafe for SchemaFailureKind
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