Struct hyperscan::error::chimera::ChimeraMatchError
source · pub struct ChimeraMatchError {
pub error_type: ChimeraMatchErrorType,
pub id: ExpressionIndex,
pub info: Option<NonNull<c_void>>,
}Available on crate feature
chimera only.Expand description
Error type for non-fatal match errors from PCRE execution during
ChimeraScratch::scan_sync().
Fields§
§error_type: ChimeraMatchErrorTypeThe type of error that occurred.
id: ExpressionIndexThe ID number of the expression that failed.
info: Option<NonNull<c_void>>Event-specific data, for future use. Currently unused.
Trait Implementations§
source§impl Debug for ChimeraMatchError
impl Debug for ChimeraMatchError
source§impl Display for ChimeraMatchError
impl Display for ChimeraMatchError
source§impl Error for ChimeraMatchError
impl Error for ChimeraMatchError
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.
impl Send for ChimeraMatchError
Auto Trait Implementations§
impl RefUnwindSafe for ChimeraMatchError
impl !Sync for ChimeraMatchError
impl Unpin for ChimeraMatchError
impl UnwindSafe for ChimeraMatchError
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