Skip to content

Add trait that supports either arrays or leases #53

@mkeeter

Description

@mkeeter

It would be convenient to write code that's generic against Leased<W, [u8]> and &mut [u8] (and Leased<R, [u8]> and &[u8]). Such a trait should live in the idol_runtime crate.

Edit: I found BufReader and BufWriter, which are close, but are reader/writer-flavored rather than array-flavored.

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