pub trait ResultExt<T> {
// Required method
fn map_grove_error(self, context: impl Into<String>) -> GroveResult<T>;
}Expand description
Result extension trait for error handling
Required Methods§
Sourcefn map_grove_error(self, context: impl Into<String>) -> GroveResult<T>
fn map_grove_error(self, context: impl Into<String>) -> GroveResult<T>
Map error to GroveError
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.