Skip to content

Feature: Rust Results in Dart code #2683

@vdawg-git

Description

@vdawg-git

Is your feature request related to a problem? Please describe.
Error handling using try-catch is not nice. Results are way nicer.

Describe the solution you'd like
An option to transform Rust results into Dart result.
There are a couple of packages like https://pub.dev/packages/result_dart, https://pub.dev/packages/multiple_result or https://pub.dev/packages/oxidized .

Describe alternatives you've considered
Wrapping everything myself, but this kinda goes against the design goal of the library to feel seamless.

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