pub fn encode_slice<T: Serialize>(value: &T) -> Result<Vec<u8>, MigrateError>
Turns a value into the bytes of a slice (postcard) (used in tests of migrate and so on).
postcard
migrate