[][src]Trait wasmer_runtime_core_asml_fork::typed_func::TrapEarly

pub trait TrapEarly<Rets> where
    Rets: WasmTypeList
{ type Error: Send + 'static; fn report(self) -> Result<Rets, Self::Error>; }

Represents a TrapEarly type.

Associated Types

type Error: Send + 'static

The error type for this trait.

Loading content...

Required methods

fn report(self) -> Result<Rets, Self::Error>

Get returns or error result.

Loading content...

Implementations on Foreign Types

impl<Rets, E> TrapEarly<Rets> for Result<Rets, E> where
    Rets: WasmTypeList,
    E: Send + 'static, 
[src]

type Error = E

Loading content...

Implementors

impl<Rets> TrapEarly<Rets> for Rets where
    Rets: WasmTypeList
[src]

type Error = Infallible

Loading content...