WIP testing cbor output

This commit is contained in:
Dominik Werder
2023-12-19 16:30:06 +01:00
parent a8479b2c8d
commit b5ce2dd743
17 changed files with 495 additions and 116 deletions

View File

@@ -27,6 +27,12 @@ pub trait WithLen {
fn len(&self) -> usize;
}
impl WithLen for bytes::Bytes {
fn len(&self) -> usize {
self.len()
}
}
pub trait Empty {
fn empty() -> Self;
}