pub enum ChimeraError {
Runtime(ChimeraRuntimeError),
VectorscanRuntime(VectorscanRuntimeError),
Compile(ChimeraCompileError),
Scan(ChimeraScanError),
}
Available on crate feature
chimera
only.Expand description
Top-level wrapper for errors returned by the chimera library.
Variants§
Runtime(ChimeraRuntimeError)
error from chimera runtime: {0}
VectorscanRuntime(VectorscanRuntimeError)
Available on crate feature
compiler
only.error from vectorscan runtime: {0}
This case in particular is helpful to convert the result of
Platform::local()
into a
chimera error.
Compile(ChimeraCompileError)
Available on crate feature
compiler
only.compile error: {0}
Scan(ChimeraScanError)
Available on crate feature
async
only.error during chimera scan: {0}
Trait Implementations§
Source§impl Debug for ChimeraError
impl Debug for ChimeraError
Source§impl Display for ChimeraError
impl Display for ChimeraError
Source§impl Error for ChimeraError
impl Error for ChimeraError
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<ChimeraCompileError> for ChimeraError
impl From<ChimeraCompileError> for ChimeraError
Source§fn from(source: ChimeraCompileError) -> Self
fn from(source: ChimeraCompileError) -> Self
Converts to this type from the input type.
Source§impl From<ChimeraRuntimeError> for ChimeraError
impl From<ChimeraRuntimeError> for ChimeraError
Source§fn from(source: ChimeraRuntimeError) -> Self
fn from(source: ChimeraRuntimeError) -> Self
Converts to this type from the input type.
Source§impl From<ChimeraScanError> for ChimeraError
impl From<ChimeraScanError> for ChimeraError
Source§fn from(source: ChimeraScanError) -> Self
fn from(source: ChimeraScanError) -> Self
Converts to this type from the input type.
Source§impl From<VectorscanRuntimeError> for ChimeraError
impl From<VectorscanRuntimeError> for ChimeraError
Source§fn from(source: VectorscanRuntimeError) -> Self
fn from(source: VectorscanRuntimeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ChimeraError
impl !RefUnwindSafe for ChimeraError
impl Send for ChimeraError
impl Sync for ChimeraError
impl Unpin for ChimeraError
impl !UnwindSafe for ChimeraError
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