Enum hyperscan::error::chimera::ChimeraError
source · pub enum ChimeraError {
Runtime(ChimeraRuntimeError),
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}
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)>
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.
Auto Trait Implementations§
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