Struct hyperscan_sys::chimera::ch_compile_error
source · [−]#[repr(C)]pub struct ch_compile_error {
pub message: *mut c_char,
pub expression: c_int,
}
Expand description
A type containing error details that is returned by the compile calls (@ref ch_compile() and @ref ch_compile_multi() on failure. The caller may inspect the values returned in this type to determine the cause of failure.
Fields
message: *mut c_char
A human-readable error message describing the error.
expression: c_int
The zero-based number of the expression that caused the error (if this can be determined). If the error is not specific to an expression, then this value will be less than zero.
Trait Implementations
sourceimpl Clone for ch_compile_error
impl Clone for ch_compile_error
sourcefn clone(&self) -> ch_compile_error
fn clone(&self) -> ch_compile_error
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ch_compile_error
impl Debug for ch_compile_error
sourceimpl Default for ch_compile_error
impl Default for ch_compile_error
sourceimpl PartialEq<ch_compile_error> for ch_compile_error
impl PartialEq<ch_compile_error> for ch_compile_error
sourcefn eq(&self, other: &ch_compile_error) -> bool
fn eq(&self, other: &ch_compile_error) -> bool
impl Copy for ch_compile_error
impl Eq for ch_compile_error
impl StructuralEq for ch_compile_error
impl StructuralPartialEq for ch_compile_error
Auto Trait Implementations
impl RefUnwindSafe for ch_compile_error
impl !Send for ch_compile_error
impl !Sync for ch_compile_error
impl Unpin for ch_compile_error
impl UnwindSafe for ch_compile_error
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more