pub trait CborLen {
// Required method
fn cbor_len(&self) -> usize;
}Expand description
A type that can calculate its own CBOR encoding length.
Required Methods§
Implementations on Foreign Types§
Implementors§
impl CborLen for Int
impl CborLen for U8
impl CborLen for Null
impl CborLen for Simple
impl CborLen for Undefined
impl CborLen for Any<'_>
Available on crate feature
alloc only.