Skip to content

Use Result in safe wrappers? #4

@newpavlov

Description

@newpavlov

Right now you use tuples in safe wrappers instead of idiomatic Results. Is there a reason for that?

To be more efficient you can define Errno as NonZeroU16, so Result<(), Errno> would take strictly 2 bytes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions