Struct libafl::executors::timeout::TimeoutExecutor[][src]

pub struct TimeoutExecutor<E, I, OT> where
    E: Executor<I> + HasObservers<OT>,
    I: Input + HasTargetBytes,
    OT: ObserversTuple
{ /* fields omitted */ }

The timeout excutor is a wrapper that set a timeout before each run

Implementations

impl<E, I, OT> TimeoutExecutor<E, I, OT> where
    E: Executor<I> + HasObservers<OT>,
    I: Input + HasTargetBytes,
    OT: ObserversTuple
[src]

pub fn new(executor: E, exec_tmout: Duration) -> Self[src]

pub fn inner(&mut self) -> &mut E[src]

Trait Implementations

impl<E, I, OT> Executor<I> for TimeoutExecutor<E, I, OT> where
    E: Executor<I> + HasObservers<OT>,
    I: Input + HasTargetBytes,
    OT: ObserversTuple
[src]

impl<E, I, OT> HasObservers<OT> for TimeoutExecutor<E, I, OT> where
    E: Executor<I> + HasObservers<OT>,
    I: Input + HasTargetBytes,
    OT: ObserversTuple
[src]

impl<E, I, OT> Named for TimeoutExecutor<E, I, OT> where
    E: Executor<I> + HasObservers<OT>,
    I: Input + HasTargetBytes,
    OT: ObserversTuple
[src]

Auto Trait Implementations

impl<E, I, OT> RefUnwindSafe for TimeoutExecutor<E, I, OT> where
    E: RefUnwindSafe,
    I: RefUnwindSafe,
    OT: RefUnwindSafe

impl<E, I, OT> Send for TimeoutExecutor<E, I, OT> where
    E: Send,
    I: Send,
    OT: Send

impl<E, I, OT> Sync for TimeoutExecutor<E, I, OT> where
    E: Sync,
    I: Sync,
    OT: Sync

impl<E, I, OT> Unpin for TimeoutExecutor<E, I, OT> where
    E: Unpin,
    I: Unpin,
    OT: Unpin

impl<E, I, OT> UnwindSafe for TimeoutExecutor<E, I, OT> where
    E: UnwindSafe,
    I: UnwindSafe,
    OT: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.