#[non_exhaustive]pub enum StreamHeader {
Gzip(GzipHeaderFields),
Zlib(ZlibHeaderFields),
RawDeflate,
}Expand description
Container header beginning one analyzed stream.
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.
Gzip(GzipHeaderFields)
gzip member header.
Zlib(ZlibHeaderFields)
zlib header.
RawDeflate
Raw DEFLATE has no header.
Trait Implementations§
Source§impl Clone for StreamHeader
impl Clone for StreamHeader
Source§fn clone(&self) -> StreamHeader
fn clone(&self) -> StreamHeader
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 moreSource§impl Debug for StreamHeader
impl Debug for StreamHeader
impl Eq for StreamHeader
Source§impl PartialEq for StreamHeader
impl PartialEq for StreamHeader
impl StructuralPartialEq for StreamHeader
Auto Trait Implementations§
impl Freeze for StreamHeader
impl RefUnwindSafe for StreamHeader
impl Send for StreamHeader
impl Sync for StreamHeader
impl Unpin for StreamHeader
impl UnsafeUnpin for StreamHeader
impl UnwindSafe for StreamHeader
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