Result Interop
Every shipped residual can be absorbed by a compatible Result.
Use this at boundaries where callers expect normal Rust error handling. Keep the custom outcome internally when its short-circuit semantics matter to the implementation.
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
Every shipped residual can be absorbed by a compatible Result.
Use this at boundaries where callers expect normal Rust error handling. Keep the custom outcome internally when its short-circuit semantics matter to the implementation.