Enum aobscan::BuilderError
source · [−]pub enum BuilderError {
ParseError(ParseIntError),
SizeMismatch,
InvalidSignature(String),
InvalidThreadCount,
}Expand description
An error in the pattern builder.
This encapsulates all possible errors that can occur when building a pattern.
Variants
ParseError(ParseIntError)
Thrown when the signature’s byte parsing fails.
SizeMismatch
Thrown when the size of the signature differs from the size of the mask.
InvalidSignature(String)
Thrown when the signature is empty or invalid.
InvalidThreadCount
Thrown when the selected worker threads count is invalid.
Trait Implementations
sourceimpl Clone for BuilderError
impl Clone for BuilderError
sourcefn clone(&self) -> BuilderError
fn clone(&self) -> BuilderError
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 BuilderError
impl Debug for BuilderError
sourceimpl Display for BuilderError
impl Display for BuilderError
sourceimpl Error for BuilderError
impl Error for BuilderError
1.30.0 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<ParseIntError> for BuilderError
impl From<ParseIntError> for BuilderError
sourcefn from(err: ParseIntError) -> Self
fn from(err: ParseIntError) -> Self
sourceimpl PartialEq<BuilderError> for BuilderError
impl PartialEq<BuilderError> for BuilderError
sourcefn eq(&self, other: &BuilderError) -> bool
fn eq(&self, other: &BuilderError) -> bool
impl Eq for BuilderError
impl StructuralEq for BuilderError
impl StructuralPartialEq for BuilderError
Auto Trait Implementations
impl RefUnwindSafe for BuilderError
impl Send for BuilderError
impl Sync for BuilderError
impl Unpin for BuilderError
impl UnwindSafe for BuilderError
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