pub enum BlockType {
Raw,
Rle,
Compressed,
}Expand description
Valid Standard Frame block types supported by the structural parser.
Variants§
Raw
Raw block whose encoded content length is Block_Size.
Rle
Run-length encoded block with exactly one encoded content byte.
Compressed
Compressed block whose payload is treated as opaque encoded bytes.
Trait Implementations§
impl Copy for BlockType
impl Eq for BlockType
impl StructuralPartialEq for BlockType
Auto Trait Implementations§
impl Freeze for BlockType
impl RefUnwindSafe for BlockType
impl Send for BlockType
impl Sync for BlockType
impl Unpin for BlockType
impl UnsafeUnpin for BlockType
impl UnwindSafe for BlockType
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