Enum hyperscan::error::chimera::ChimeraScanError
source · pub enum ChimeraScanError {
ReturnValue(ChimeraRuntimeError),
MatchError(ChimeraMatchError),
Join(JoinError),
}Available on crate features
chimera and async only.Expand description
Wrapper for errors returned by
ChimeraScratch::scan_channel().
Variants§
ReturnValue(ChimeraRuntimeError)
error from return value of ch_scan(): {0}
MatchError(ChimeraMatchError)
non-fatal match error: {0}
Join(JoinError)
task join error: {0}
Trait Implementations§
source§impl Debug for ChimeraScanError
impl Debug for ChimeraScanError
source§impl Display for ChimeraScanError
impl Display for ChimeraScanError
source§impl Error for ChimeraScanError
impl Error for ChimeraScanError
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<ChimeraMatchError> for ChimeraScanError
impl From<ChimeraMatchError> for ChimeraScanError
source§fn from(source: ChimeraMatchError) -> Self
fn from(source: ChimeraMatchError) -> Self
Converts to this type from the input type.
source§impl From<ChimeraRuntimeError> for ChimeraScanError
impl From<ChimeraRuntimeError> for ChimeraScanError
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 ChimeraScanError
impl Send for ChimeraScanError
impl !Sync for ChimeraScanError
impl Unpin for ChimeraScanError
impl !UnwindSafe for ChimeraScanError
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