#[non_exhaustive]pub enum GraphSchemaValidationError {
Rejected,
Unavailable,
}Expand description
Public-safe reason a schema registry could not validate a value.
Registries retain detailed diagnostics in protected telemetry. The graph planner intentionally carries only this closed classification so schema or user data cannot leak through errors, logs, or protocol adapters.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Rejected
The value did not satisfy the exact pinned schema.
The exact schema implementation was unavailable.
Trait Implementations§
Source§impl Clone for GraphSchemaValidationError
impl Clone for GraphSchemaValidationError
impl Copy for GraphSchemaValidationError
Source§impl Debug for GraphSchemaValidationError
impl Debug for GraphSchemaValidationError
Source§impl Display for GraphSchemaValidationError
impl Display for GraphSchemaValidationError
impl Eq for GraphSchemaValidationError
Source§impl Error for GraphSchemaValidationError
impl Error for GraphSchemaValidationError
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<GraphSchemaValidationError> for ChildRunAdmissionIntentError
impl From<GraphSchemaValidationError> for ChildRunAdmissionIntentError
Source§fn from(source: GraphSchemaValidationError) -> Self
fn from(source: GraphSchemaValidationError) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for GraphSchemaValidationError
Auto Trait Implementations§
impl Forget for GraphSchemaValidationError
impl Freeze for GraphSchemaValidationError
impl Move for GraphSchemaValidationError
impl RefUnwindSafe for GraphSchemaValidationError
impl Send for GraphSchemaValidationError
impl Sync for GraphSchemaValidationError
impl Unpin for GraphSchemaValidationError
impl UnsafeUnpin for GraphSchemaValidationError
impl UnwindSafe for GraphSchemaValidationError
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