pub fn try_by<T, E, F>(f: F) -> impl TryNew<Output = T, Error = E>where F: FnOnce() -> Result<T, E>,
Returns a TryNew that uses the provided closure for constructing a T.
TryNew
T