Trait astray::ResultHatchExt
pub trait ResultHatchExt<T, E> {
// Required method
fn hatch(self) -> HatchResult<T, E>;
}Expand description
An extension trait for adding the hatch method to the builtin Result type.
Required Methods§
fn hatch(self) -> HatchResult<T, E>
Implementations on Foreign Types§
§impl<T, E> ResultHatchExt<T, E> for Result<T, E>
impl<T, E> ResultHatchExt<T, E> for Result<T, E>
The implementation which adds the hatch method to the builtin Result type using the ResultHatchExt extension trait