Trait tskit::metadata::MetadataRoundtrip
source · pub trait MetadataRoundtrip {
// Required methods
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