Skip to content

Implement Debug for Decoder and Encoder #129

@LiosK

Description

@LiosK

Would it be possible to implement Debug for Decoder and Encoder? Even just opaque output like the snippet below would be really useful - it lets downstream types derive Debug without any extra effort:

impl core::fmt::Debug for Decoder {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.write_str("Decoder { .. }")
    }
}

impl core::fmt::Debug for Encoder {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.write_str("Encoder { .. }")
    }
}

Thanks!

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