pub enum StreamEncapsulation {
Fmp4,
Cmaf,
}Expand description
How a fragmented stream is packaged.
The serialized form is the C2PA Conformance Program 0.2 Generator Product
spelling, so a declaration round-trips through the conforming-products list
unchanged. Self::from_token is ASCII case-insensitive, so a lowercase
CLI flag or JSON value resolves to the same value.
Variants§
Fmp4
Fragmented MP4: an ISOBMFF init segment plus movie-fragment media segments (DASH/HLS packaging).
Cmaf
Common Media Application Format, a strict profile of fragmented MP4.
Implementations§
Trait Implementations§
Source§impl Clone for StreamEncapsulation
impl Clone for StreamEncapsulation
impl Copy for StreamEncapsulation
Source§impl Debug for StreamEncapsulation
impl Debug for StreamEncapsulation
Source§impl<'de> Deserialize<'de> for StreamEncapsulation
impl<'de> Deserialize<'de> for StreamEncapsulation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for StreamEncapsulation
impl Display for StreamEncapsulation
impl Eq for StreamEncapsulation
Source§impl Hash for StreamEncapsulation
impl Hash for StreamEncapsulation
Source§impl PartialEq for StreamEncapsulation
impl PartialEq for StreamEncapsulation
Source§impl Serialize for StreamEncapsulation
impl Serialize for StreamEncapsulation
impl StructuralPartialEq for StreamEncapsulation
Auto Trait Implementations§
impl Freeze for StreamEncapsulation
impl RefUnwindSafe for StreamEncapsulation
impl Send for StreamEncapsulation
impl Sync for StreamEncapsulation
impl Unpin for StreamEncapsulation
impl UnsafeUnpin for StreamEncapsulation
impl UnwindSafe for StreamEncapsulation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.