pub enum RefResolutionError {
UnsupportedRef {
ref_str: String,
},
UnsupportedFragment {
ref_str: String,
},
DefsMissing {
ref_str: String,
},
DefinitionsMissing {
ref_str: String,
},
DefNotFound {
ref_str: String,
name: String,
},
DefinitionNotFound {
ref_str: String,
name: String,
},
RefCycle {
ref_str: String,
},
InvalidPointerEscape {
ref_str: String,
},
}Variants§
UnsupportedRef
$ref is not a fragment-only reference supported by this crate.
UnsupportedFragment
Fragment exists but does not match one of the supported paths.
DefsMissing
$defs container is missing on the root schema.
DefinitionsMissing
definitions container is missing on the root schema.
DefNotFound
The requested key was not found under $defs.
DefinitionNotFound
The requested key was not found under definitions.
RefCycle
The $ref chain contains a cycle.
InvalidPointerEscape
JSON Pointer escape sequence is invalid.
Trait Implementations§
Source§impl Clone for RefResolutionError
impl Clone for RefResolutionError
Source§fn clone(&self) -> RefResolutionError
fn clone(&self) -> RefResolutionError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RefResolutionError
impl Debug for RefResolutionError
Source§impl PartialEq for RefResolutionError
impl PartialEq for RefResolutionError
impl Eq for RefResolutionError
impl StructuralPartialEq for RefResolutionError
Auto Trait Implementations§
impl Freeze for RefResolutionError
impl RefUnwindSafe for RefResolutionError
impl Send for RefResolutionError
impl Sync for RefResolutionError
impl Unpin for RefResolutionError
impl UnsafeUnpin for RefResolutionError
impl UnwindSafe for RefResolutionError
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