Skip to content

API for serializing/deserializing std::fs::File to/from an FD arg directly #1820

Description

@PureTryOut

Currently when receiving a file descriptor the caller has to do quite a lot of manual work including unsafe code to turn it into a safe fs::File before it's actually useful. Since basically everyone will do that it'd be great if zbus itself could handle this so you just get a safe fs::File handle you can use.

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