pub trait AnyhowToEmsError<T> {
// Required method
fn to_ems_error(self) -> Result<T>;
}Expand description
Helper trait for converting anyhow errors to EMSError
Required Methods§
Sourcefn to_ems_error(self) -> Result<T>
fn to_ems_error(self) -> Result<T>
Convert an anyhow::Result to an EMSError Result