pub enum FrameContentSize {
Known(u64),
Unknown,
}Expand description
Decompressed size a frame declares in its header, as read by
read_frame_content_size without decoding the frame body.
Variants§
Known(u64)
The header carried an explicit Frame_Content_Size field (in bytes).
Unknown
The header did not declare a content size; the true size is only known after decoding (or from out-of-band knowledge).
Trait Implementations§
Source§impl Clone for FrameContentSize
impl Clone for FrameContentSize
Source§fn clone(&self) -> FrameContentSize
fn clone(&self) -> FrameContentSize
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 FrameContentSize
Source§impl Debug for FrameContentSize
impl Debug for FrameContentSize
impl Eq for FrameContentSize
Source§impl PartialEq for FrameContentSize
impl PartialEq for FrameContentSize
Source§fn eq(&self, other: &FrameContentSize) -> bool
fn eq(&self, other: &FrameContentSize) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FrameContentSize
Auto Trait Implementations§
impl Freeze for FrameContentSize
impl RefUnwindSafe for FrameContentSize
impl Send for FrameContentSize
impl Sync for FrameContentSize
impl Unpin for FrameContentSize
impl UnsafeUnpin for FrameContentSize
impl UnwindSafe for FrameContentSize
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