#[repr(C)]pub struct ZSTD_frameSizeInfo {
pub nbBlocks: usize,
pub compressedSize: usize,
pub decompressedBound: c_ulonglong,
}Expand description
Contains the compressed frame size and an upper-bound for the decompressed frame size.
Note: before using compressedSize, check for errors using ZSTD_isError().
similarly, before using decompressedBound, check for errors using:
decompressedBound != ZSTD_CONTENTSIZE_ERROR
Fields§
§nbBlocks: usize§compressedSize: usize§decompressedBound: c_ulonglongTrait Implementations§
Source§impl Clone for ZSTD_frameSizeInfo
impl Clone for ZSTD_frameSizeInfo
Source§fn clone(&self) -> ZSTD_frameSizeInfo
fn clone(&self) -> ZSTD_frameSizeInfo
Returns a duplicate of the value. Read more
1.0.0 · 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 ZSTD_frameSizeInfo
impl Debug for ZSTD_frameSizeInfo
impl Copy for ZSTD_frameSizeInfo
Auto Trait Implementations§
impl Freeze for ZSTD_frameSizeInfo
impl RefUnwindSafe for ZSTD_frameSizeInfo
impl Send for ZSTD_frameSizeInfo
impl Sync for ZSTD_frameSizeInfo
impl Unpin for ZSTD_frameSizeInfo
impl UnwindSafe for ZSTD_frameSizeInfo
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