Trait diny_core::backend::Format[][src]

pub trait Format {
    type Error: From<Error>;
    fn invalid_input_err() -> Self::Error;
fn invalid_data_err() -> Self::Error; }
Expand description

Base trait common to all formatters.

Provides the minimal required support for handling the errors encountered during encoding and decoding operations.

Associated Types

Required methods

Implementors