pub enum CompileError {
SerializeError(Error),
SchemaError(SchemaError),
}
Variants§
SerializeError(Error)
SchemaError(SchemaError)
Trait Implementations§
Source§impl Debug for CompileError
impl Debug for CompileError
Source§impl Display for CompileError
impl Display for CompileError
Source§impl Fail for CompileError
impl Fail for CompileError
Source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
Source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moreSource§impl From<Error> for CompileError
impl From<Error> for CompileError
Source§fn from(inner: SerializeError) -> Self
fn from(inner: SerializeError) -> Self
Converts to this type from the input type.
Source§impl From<SchemaError> for CompileError
impl From<SchemaError> for CompileError
Source§fn from(inner: SchemaError) -> Self
fn from(inner: SchemaError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CompileError
impl !RefUnwindSafe for CompileError
impl Send for CompileError
impl Sync for CompileError
impl Unpin for CompileError
impl !UnwindSafe for CompileError
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