Trait toml_test_harness::Encoder [−][src]
pub trait Encoder {
fn encode(&self, data: Decoded) -> Result<String, Error>;
fn name(&self) -> &str;
fn verify_valid_case(
&self,
decoded: &[u8],
fixture: &dyn Decoder
) -> Result<(), Error> { ... }
}