Trait ruc::err::RucResult

source ·
pub trait RucResult<T, E: Debug + Display + Send> {
    // Required method
    fn c(self, msg: SimpleMsg<E>) -> Result<T>;
}
Expand description

Convert all Result to this

Required Methods§

source

fn c(self, msg: SimpleMsg<E>) -> Result<T>

shorter alias for ‘chain_error’

Implementations on Foreign Types§

source§

impl<T, E: Debug + Display + Send> RucResult<T, E> for Option<T>

source§

fn c(self, msg: SimpleMsg<E>) -> Result<T>

source§

impl<T, E: Debug + Display + Send, ERR: Error> RucResult<T, E> for Result<T, ERR>

source§

fn c(self, msg: SimpleMsg<E>) -> Result<T>

Implementors§

source§

impl<T, E: Debug + Display + Send> RucResult<T, E> for ruc::err::Result<T>