dcbor/
cbor_tagged_codable.rs

1
2
3
4
5
6
use crate::{CBORTaggedEncodable, CBORTaggedDecodable};

/// A type that can be encoded to or from CBOR with a specific tag.
pub trait CBORTaggedCodable { }

impl<T> CBORTaggedCodable for T where T: CBORTaggedEncodable + CBORTaggedDecodable { }