pub trait QuantizedSerde {
// Required method
fn name(&self) -> &'static str;
// Provided methods
fn isq_serde_supported(&self) -> bool { ... }
fn serialize(&self) -> Result<Cow<'_, [u8]>> { ... }
fn deserialize(
_data: Cow<'_, [u8]>,
_device: &Device,
) -> Result<Arc<dyn QuantMethod>>
where Self: Sized { ... }
}