1 2 3 4 5 6 7
/// data format transfer pub trait Serde<S, T, E> { /// Deserialize fn de(h: T) -> Result<S, E>; /// Serialize fn ser(&self) -> T; }