Function synac::common::serialize [] [src]

pub fn serialize(packet: &Packet) -> Result<Vec<u8>, Error>