[][src]Struct wasm_reader_traits::JustResult

pub struct JustResult<T, E> { /* fields omitted */ }

Methods

impl<T, E> JustResult<T, E>[src]

pub fn new(inner: Result<T, E>) -> Self[src]

Trait Implementations

impl<T, E> Parser for JustResult<T, E>[src]

type Item = T

type Next = ()

type Error = Error<E>

Auto Trait Implementations

impl<T, E> RefUnwindSafe for JustResult<T, E> where
    E: RefUnwindSafe,
    T: RefUnwindSafe

impl<T, E> Send for JustResult<T, E> where
    E: Send,
    T: Send

impl<T, E> Sync for JustResult<T, E> where
    E: Sync,
    T: Sync

impl<T, E> Unpin for JustResult<T, E> where
    E: Unpin,
    T: Unpin

impl<T, E> UnwindSafe for JustResult<T, E> where
    E: UnwindSafe,
    T: 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<Choices> CoproductSubsetter<CNil, HNil> for Choices[src]

type Remainder = Choices

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

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

impl<T> IntoParser for T where
    T: Parser
[src]

type Item = <T as Parser>::Item

type Next = <T as Parser>::Next

type Error = <T as Parser>::Error

type Parser = T

impl<T, U, I> LiftInto<U, I> for T where
    U: LiftFrom<T, I>, 
[src]

impl<T> ParseOne for T where
    T: Parser<Next = ()>, 
[src]

impl<Source> Sculptor<HNil, HNil> for Source[src]

type Remainder = Source

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.