Trait melib::error::IntoError

source ·
pub trait IntoError {
    // Required methods
    fn set_err_summary<M>(self, msg: M) -> Error
       where M: Into<Cow<'static, str>>;
    fn set_err_details<M>(self, msg: M) -> Error
       where M: Into<Cow<'static, str>>;
    fn set_err_kind(self, kind: ErrorKind) -> Error;
}

Required Methods§

source

fn set_err_summary<M>(self, msg: M) -> Error
where M: Into<Cow<'static, str>>,

source

fn set_err_details<M>(self, msg: M) -> Error
where M: Into<Cow<'static, str>>,

source

fn set_err_kind(self, kind: ErrorKind) -> Error

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<I: Into<Error>> IntoError for I