Trait forth3::ReplaceErr

source ·
pub(crate) trait ReplaceErr {
    type OK;

    // Required method
    fn replace_err<NE>(self, t: NE) -> Result<Self::OK, NE>;
}

Required Associated Types§

Required Methods§

source

fn replace_err<NE>(self, t: NE) -> Result<Self::OK, NE>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T, OE> ReplaceErr for Result<T, OE>

§

type OK = T

source§

fn replace_err<NE>(self, e: NE) -> Result<Self::OK, NE>

Implementors§