pub struct OverlongUtf8Tamper;Expand description
Overlong UTF-8 tamper strategy.
Trait Implementations§
Source§impl TamperStrategy for OverlongUtf8Tamper
impl TamperStrategy for OverlongUtf8Tamper
Source§fn description(&self) -> &'static str
fn description(&self) -> &'static str
Returns a description of what this strategy does.
Source§fn tamper(&self, payload: &str, _context: Option<&str>) -> String
fn tamper(&self, payload: &str, _context: Option<&str>) -> String
Transforms the input payload. Read more
Source§fn aggressiveness(&self) -> f64
fn aggressiveness(&self) -> f64
Returns the aggressiveness score (0.0 = mild, 1.0 = extreme).
Auto Trait Implementations§
impl Freeze for OverlongUtf8Tamper
impl RefUnwindSafe for OverlongUtf8Tamper
impl Send for OverlongUtf8Tamper
impl Sync for OverlongUtf8Tamper
impl Unpin for OverlongUtf8Tamper
impl UnsafeUnpin for OverlongUtf8Tamper
impl UnwindSafe for OverlongUtf8Tamper
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