pub enum NotValidated {
NoSchema,
NoRegistry,
FeatureOff,
KindUnsupported,
Undecodable,
BadSchema,
}decode only.Expand description
The #159 conformance verdict, re-exported so frontends never reach around the engine for it. Why a payload was not validated. A reason is not a failure: most of these are ordinary states of a live bus (O4 — “not asked” is not “no”).
Variants§
NoSchema
A registry was consulted and no schema is served/known for the
observed type. This is “asked, and the answer was silence about the
type” — never the same fact as NoRegistry’s
“nobody looked” (RFC 09 §5.1 O4; #246).
NoRegistry
No registry was loaded, so no type was ever looked up. “Not asked”
must not masquerade as a fact about the type (RFC 09 §5.1 O4): a run
whose registry was merely unreachable used to emit
NoSchema on every row, which reads as a claim
about the types (#246).
FeatureOff
The validate-json feature is compiled out of this binary.
KindUnsupported
The schema kind has no validator beyond its own decode.
Undecodable
The bytes did not decode, so conformance was never reachable.
BadSchema
The schema document itself did not compile as a schema.
Trait Implementations§
Source§impl Clone for NotValidated
impl Clone for NotValidated
Source§fn clone(&self) -> NotValidated
fn clone(&self) -> NotValidated
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for NotValidated
Source§impl Debug for NotValidated
impl Debug for NotValidated
Source§impl Display for NotValidated
impl Display for NotValidated
impl Eq for NotValidated
Source§impl PartialEq for NotValidated
impl PartialEq for NotValidated
impl StructuralPartialEq for NotValidated
Auto Trait Implementations§
impl Freeze for NotValidated
impl RefUnwindSafe for NotValidated
impl Send for NotValidated
impl Sync for NotValidated
impl Unpin for NotValidated
impl UnsafeUnpin for NotValidated
impl UnwindSafe for NotValidated
Blanket Implementations§
Source§impl<Source> AccessAs for Source
impl<Source> AccessAs for Source
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more