Trait diny::backend::Format [−][src]
pub trait Format {
type Error: From<Error>;
fn invalid_input_err() -> Self::Error;
fn invalid_data_err() -> Self::Error;
}
Expand description
Associated Types
Required methods
fn invalid_input_err() -> Self::Error
fn invalid_input_err() -> Self::Error
The error to return when an internal serialization contract has been violated
fn invalid_data_err() -> Self::Error
fn invalid_data_err() -> Self::Error
The error to return when a data contract has been violated