Trait melib::error::ResultIntoError
source · pub trait ResultIntoError<T> {
// Required methods
fn chain_err_summary<M, F>(self, msg_fn: F) -> Result<T>
where F: Fn() -> M,
M: Into<Cow<'static, str>>;
fn chain_err_details<M, F>(self, msg_fn: F) -> Result<T>
where F: Fn() -> M,
M: Into<Cow<'static, str>>;
fn chain_err_kind(self, kind: ErrorKind) -> Result<T>;
}
Required Methods§
fn chain_err_summary<M, F>(self, msg_fn: F) -> Result<T>
fn chain_err_details<M, F>(self, msg_fn: F) -> Result<T>
fn chain_err_kind(self, kind: ErrorKind) -> Result<T>
Object Safety§
This trait is not object safe.