Trait enso_prelude::ResultOps [−][src]
pub trait ResultOps { type Item; type Error; fn handle_err<F>(self, f: F) -> Option<Self::Item>
where
F: FnOnce(Self::Error); }
Expand description
Adds utilities to the Result
type.
pub trait ResultOps { type Item; type Error; fn handle_err<F>(self, f: F) -> Option<Self::Item>
where
F: FnOnce(Self::Error); }
Adds utilities to the Result
type.