[][src]Struct rust_simple_stack_processor::TrapHandler

pub struct TrapHandler<'a> { /* fields omitted */ }

Methods

impl<'a> TrapHandler<'a>[src]

pub fn new<C>(handled_trap: i64, f: C) -> TrapHandler<'a> where
    C: Fn(i64, &mut StackMachineState) -> Result<TrapHandled, StackMachineError> + 'a, 
[src]

Trait Implementations

impl<'a> HandleTrap for TrapHandler<'a>[src]

Auto Trait Implementations

impl<'a> Unpin for TrapHandler<'a>

impl<'a> !Sync for TrapHandler<'a>

impl<'a> !Send for TrapHandler<'a>

impl<'a> !UnwindSafe for TrapHandler<'a>

impl<'a> !RefUnwindSafe for TrapHandler<'a>

Blanket Implementations

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

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

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.

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

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

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