Trait tskit::metadata::MetadataRoundtrip [−][src]
pub trait MetadataRoundtrip {
fn encode(&self) -> Result<Vec<u8>, MetadataError>;
fn decode(md: &[u8]) -> Result<Self, MetadataError>
where
Self: Sized;
}
Expand description
Trait marking a type as table metadata