pub trait IntoAnyhow<T> {
// Required method
fn into_anyhow(self) -> Result<T>;
}
Expand description
Helper trait
Required Methods§
Sourcefn into_anyhow(self) -> Result<T>
fn into_anyhow(self) -> Result<T>
Convert self
into a result with an anyhow error
§Errors
Maps the error in a Result into an anyhow::Error
.