pub enum FrameCountCode {
One,
TwoEqual,
TwoUnequal,
Arbitrary,
}Expand description
Frame-packing code signalled by the c field of the TOC byte
(RFC 6716 §3.1, immediately after Table 2).
Variants§
One
Code 0 — exactly one frame in the packet.
TwoEqual
Code 1 — exactly two frames, both compressed to the same size.
TwoUnequal
Code 2 — exactly two frames with independent compressed sizes.
Arbitrary
Code 3 — arbitrary frame count, encoded in a following byte.
Trait Implementations§
Source§impl Clone for FrameCountCode
impl Clone for FrameCountCode
Source§fn clone(&self) -> FrameCountCode
fn clone(&self) -> FrameCountCode
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 FrameCountCode
Source§impl Debug for FrameCountCode
impl Debug for FrameCountCode
impl Eq for FrameCountCode
Source§impl PartialEq for FrameCountCode
impl PartialEq for FrameCountCode
Source§fn eq(&self, other: &FrameCountCode) -> bool
fn eq(&self, other: &FrameCountCode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FrameCountCode
Auto Trait Implementations§
impl Freeze for FrameCountCode
impl RefUnwindSafe for FrameCountCode
impl Send for FrameCountCode
impl Sync for FrameCountCode
impl Unpin for FrameCountCode
impl UnsafeUnpin for FrameCountCode
impl UnwindSafe for FrameCountCode
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