pub struct FrameInfo {
pub content_size: Option<u64>,
pub block_size: BlockSize,
pub block_mode: BlockMode,
pub block_checksums: bool,
pub content_checksum: bool,
/* private fields */
}
Fields
content_size: Option<u64>
If set, includes the total uncompressed size of data in the frame.
block_size: BlockSize
The maximum uncompressed size of each data block.
block_mode: BlockMode
The block mode.
block_checksums: bool
If set, includes a checksum for each data block in the frame.
content_checksum: bool
If set, includes a content checksum to verify that the full frame contents have been decoded correctly.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FrameInfo
impl Send for FrameInfo
impl Sync for FrameInfo
impl Unpin for FrameInfo
impl UnwindSafe for FrameInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more