pub trait ReadCbor {
fn fmt(f: &mut impl Write) -> Result;
fn read_cbor(cbor: &Cbor) -> Result<Self>
where
Self: Sized;
fn name() -> String { ... }
}pub trait ReadCbor {
fn fmt(f: &mut impl Write) -> Result;
fn read_cbor(cbor: &Cbor) -> Result<Self>
where
Self: Sized;
fn name() -> String { ... }
}