Skip to content

edid: FallibleEdid type #1

@onkoe

Description

@onkoe

The current parser is very strict. However, many devices ship with malformed, noncompliant EDIDs, and they may never be fixed.

To resolve this, we can make a type like Edid, but each field is Result<Field, EdidError>.

It'll also have a method to_edid(self) that returns Result<Edid, FallibleEdid>, only returning Edid if all fields on self are Result::Ok! :D

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions