Function to_bytes_with_info

Source
pub fn to_bytes_with_info<B, T>(
    bytes: B,
    value: &T,
    registry_type: Option<(&PortableRegistry, u32)>,
) -> Result<(), Error>
where T: Serialize + ?Sized, B: BufMut,