Trait toml_test_harness::Decoder[][src]

pub trait Decoder {
    fn decode(&self, data: &[u8]) -> Result<Decoded, Error>;
fn name(&self) -> &str; fn verify_valid_case(
        &self,
        fixture: &[u8],
        expected: &[u8]
    ) -> Result<(), Error> { ... }
fn verify_invalid_case(&self, fixture: &[u8]) -> Result<Error, Error> { ... } }

Required methods

Provided methods

Implementations on Foreign Types

Implementors