[][src]Trait bundle_sources::utils::ErrorMap

pub trait ErrorMap<T, E0> {
    type R;
    pub fn cxm<S, MF>(self, mf: MF) -> Self::R
    where
        MF: FnOnce() -> S,
        S: ToOwned<Owned = String>,
        String: Borrow<S>
; }

Associated Types

type R[src]

Loading content...

Required methods

pub fn cxm<S, MF>(self, mf: MF) -> Self::R where
    MF: FnOnce() -> S,
    S: ToOwned<Owned = String>,
    String: Borrow<S>, 
[src]

Loading content...

Implementations on Foreign Types

impl<T, E0> ErrorMap<T, E0> for Result<T, E0> where
    E0: Into<Error>, 
[src]

type R = Result<T, Error>

Loading content...

Implementors

Loading content...