Skip to content

Consider inspect-family of methods. #5

@alilleybrinker

Description

@alilleybrinker

std::result::Result has currently-unstable inspect and inspect_err methods for applying a function to a contained Ok or Err value respectively without modifying it. We could do the same thing here, with inspect, inspect_err (behind the either feature), inspect_local_err, and inspect_fatal_err`

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions