Struct smoltcp::phy::FuzzInjector [−][src]
A fuzz injector device.
A fuzz injector is a device that alters packets traversing through it according to the directions of a guided fuzzer. It is designed to support fuzzing internal state machines inside smoltcp, and is not for production use.
Implementations
impl<D: for<'a> Device<'a>, FTx: Fuzzer, FRx: Fuzzer> FuzzInjector<D, FTx, FRx>
[src]
pub fn new(inner: D, fuzz_tx: FTx, fuzz_rx: FRx) -> FuzzInjector<D, FTx, FRx>
[src]
Create a fuzz injector device.
pub fn into_inner(self) -> D
[src]
Return the underlying device, consuming the fuzz injector.
Trait Implementations
impl<D: Debug + for<'a> Device<'a>, FTx: Debug + Fuzzer, FRx: Debug + Fuzzer> Debug for FuzzInjector<D, FTx, FRx>
[src]
impl<'a, D, FTx, FRx> Device<'a> for FuzzInjector<D, FTx, FRx> where
D: for<'b> Device<'b>,
FTx: Fuzzer + 'a,
FRx: Fuzzer + 'a,
[src]
D: for<'b> Device<'b>,
FTx: Fuzzer + 'a,
FRx: Fuzzer + 'a,
Auto Trait Implementations
impl<D, FTx, FRx> RefUnwindSafe for FuzzInjector<D, FTx, FRx> where
D: RefUnwindSafe,
FRx: RefUnwindSafe,
FTx: RefUnwindSafe,
D: RefUnwindSafe,
FRx: RefUnwindSafe,
FTx: RefUnwindSafe,
impl<D, FTx, FRx> Send for FuzzInjector<D, FTx, FRx> where
D: Send,
FRx: Send,
FTx: Send,
D: Send,
FRx: Send,
FTx: Send,
impl<D, FTx, FRx> Sync for FuzzInjector<D, FTx, FRx> where
D: Sync,
FRx: Sync,
FTx: Sync,
D: Sync,
FRx: Sync,
FTx: Sync,
impl<D, FTx, FRx> Unpin for FuzzInjector<D, FTx, FRx> where
D: Unpin,
FRx: Unpin,
FTx: Unpin,
D: Unpin,
FRx: Unpin,
FTx: Unpin,
impl<D, FTx, FRx> UnwindSafe for FuzzInjector<D, FTx, FRx> where
D: UnwindSafe,
FRx: UnwindSafe,
FTx: UnwindSafe,
D: UnwindSafe,
FRx: UnwindSafe,
FTx: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,