usetraits::AutoEncoder;/// Representation of encrypted data as an enecoded format
////// Includes all cryptographic state primitives that are
/// required to send the data over a network and decrypt on
/// the other side of a pipe.
#[derive(Serialize, Deserialize)]pubstructPackedData{pubnonce:Vec<u8>,
pubiv:Vec<u8>,
pubdata:Vec<u8>,
}implAutoEncoder forPackedData{}