pub enum PathSchemaParseError {
SyntaxError {
segment: String,
message: String,
},
UnrecognizedType(String),
}
Expand description
Error type for parsing Schemas from a String
Variants§
Trait Implementations§
Source§impl Debug for PathSchemaParseError
impl Debug for PathSchemaParseError
Source§impl Display for PathSchemaParseError
impl Display for PathSchemaParseError
Source§impl Error for PathSchemaParseError
impl Error for PathSchemaParseError
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()
Auto Trait Implementations§
impl Freeze for PathSchemaParseError
impl RefUnwindSafe for PathSchemaParseError
impl Send for PathSchemaParseError
impl Sync for PathSchemaParseError
impl Unpin for PathSchemaParseError
impl UnwindSafe for PathSchemaParseError
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