Trait c2pa::AssertionCbor
source · pub trait AssertionCbor: Serialize + DeserializeOwned + AssertionBase {
// Provided methods
fn to_cbor_assertion(&self) -> Result<Assertion> { ... }
fn from_cbor_assertion(assertion: &Assertion) -> Result<Self> { ... }
}
Expand description
Trait to handle default Cbor encoding/decoding of Assertions
Provided Methods§
fn to_cbor_assertion(&self) -> Result<Assertion>
fn from_cbor_assertion(assertion: &Assertion) -> Result<Self>
Object Safety§
This trait is not object safe.