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

Required methods

Encode self as bytes

Decond Self from bytes

Implementors