#[non_exhaustive]pub enum CencAlgorithm {
Null,
Zlib,
Deflate,
Gzip,
Other(u8),
}Expand description
Content-encoding algorithm of an FDT Instance payload (RFC 6726 §3.4.3).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Null
0 — null (no content encoding).
Zlib
1 — ZLIB (RFC 1950).
Deflate
2 — DEFLATE (RFC 1951).
Gzip
3 — GZIP (RFC 1952).
Other(u8)
Any other (unassigned) value.
Implementations§
Trait Implementations§
Source§impl Clone for CencAlgorithm
impl Clone for CencAlgorithm
Source§fn clone(&self) -> CencAlgorithm
fn clone(&self) -> CencAlgorithm
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CencAlgorithm
Source§impl Debug for CencAlgorithm
impl Debug for CencAlgorithm
Source§impl Display for CencAlgorithm
impl Display for CencAlgorithm
impl Eq for CencAlgorithm
Source§impl Hash for CencAlgorithm
impl Hash for CencAlgorithm
Source§impl PartialEq for CencAlgorithm
impl PartialEq for CencAlgorithm
Source§impl Serialize for CencAlgorithm
Available on crate feature serde only.
impl Serialize for CencAlgorithm
Available on crate feature
serde only.impl StructuralPartialEq for CencAlgorithm
Auto Trait Implementations§
impl Freeze for CencAlgorithm
impl RefUnwindSafe for CencAlgorithm
impl Send for CencAlgorithm
impl Sync for CencAlgorithm
impl Unpin for CencAlgorithm
impl UnsafeUnpin for CencAlgorithm
impl UnwindSafe for CencAlgorithm
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