Trait tea_codec::ResultExt

source ·
pub trait ResultExt {
    type Value;
    type Error;

    // Required method
    fn err_into<E>(self) -> Result<Self::Value, E>
       where E: From<Self::Error>;
}

Required Associated Types§

Required Methods§

source

fn err_into<E>(self) -> Result<Self::Value, E>where E: From<Self::Error>,

Implementations on Foreign Types§

source§

impl<T, E> ResultExt for Result<T, E>

§

type Value = T

§

type Error = E

source§

fn err_into<E2>(self) -> Result<Self::Value, E2>where E2: From<E>,

Implementors§