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
; }

Required methods

fn encode(&self) -> Result<Vec<u8>, MetadataError>[src]

fn decode(md: &[u8]) -> Result<Self, MetadataError> where
    Self: Sized
[src]

Loading content...

Implementors

Loading content...