Motivation
Would be nice if the fallback functionality from tower-fallback had an option to select when exactly the fallback should be used.
For example, if my services return Result<Option<Foo>, Error>, I might want to fall back on Ok(None) as well, not only on Err(_).
Specifications
No response
Complex Code or Requirements
No response
Testing
No response
Related Work
No response
Motivation
Would be nice if the fallback functionality from tower-fallback had an option to select when exactly the fallback should be used.
For example, if my services return
Result<Option<Foo>, Error>, I might want to fall back onOk(None)as well, not only onErr(_).Specifications
No response
Complex Code or Requirements
No response
Testing
No response
Related Work
No response