pub fn serialize_input<T: Serialize>(input: &T) -> Result<Vec<u8>, Error>
Helper to serialize any serde-compatible type to bincode bytes