pub enum SchemaLinkerError {
Str(&'static str),
String(String),
ValidationError(SchemaDefValidationError),
}
Variants§
Trait Implementations§
Source§impl Debug for SchemaLinkerError
impl Debug for SchemaLinkerError
Source§impl Display for SchemaLinkerError
impl Display for SchemaLinkerError
Source§impl Error for SchemaLinkerError
impl Error for SchemaLinkerError
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<SchemaDefParserError> for SchemaLinkerError
impl From<SchemaDefParserError> for SchemaLinkerError
Source§fn from(err: SchemaDefParserError) -> SchemaLinkerError
fn from(err: SchemaDefParserError) -> SchemaLinkerError
Converts to this type from the input type.
Source§impl From<SchemaDefValidationError> for SchemaLinkerError
impl From<SchemaDefValidationError> for SchemaLinkerError
Source§fn from(err: SchemaDefValidationError) -> SchemaLinkerError
fn from(err: SchemaDefValidationError) -> SchemaLinkerError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SchemaLinkerError
impl RefUnwindSafe for SchemaLinkerError
impl Send for SchemaLinkerError
impl Sync for SchemaLinkerError
impl Unpin for SchemaLinkerError
impl UnwindSafe for SchemaLinkerError
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