pub enum LfiBuildError {
SequenceLengthOver(u64),
OverMaximumCharacters {
max: u32,
input: u32,
},
InvalidOption(String),
}
Expand description
Error type for StaticLfi
build.
Variants§
SequenceLengthOver(u64)
Triggered when sequence length exceeds the maximum allowable capacity.
OverMaximumCharacters
Triggered when input characters exceed the maximum limit that the PatternIndex
can index.
InvalidOption(String)
Triggered when the invalid option is passed.
Trait Implementations§
Source§impl Debug for LfiBuildError
impl Debug for LfiBuildError
Source§impl Display for LfiBuildError
impl Display for LfiBuildError
Source§impl Error for LfiBuildError
impl Error for LfiBuildError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Auto Trait Implementations§
impl Freeze for LfiBuildError
impl RefUnwindSafe for LfiBuildError
impl Send for LfiBuildError
impl Sync for LfiBuildError
impl Unpin for LfiBuildError
impl UnwindSafe for LfiBuildError
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