pub struct FinishedFrame {
pub compressed_size: u64,
pub decompressed_size: u64,
}Expand description
The sizes of one frame a StreamingDecoder decoded, as
StreamingDecoder::read_reporting_frames reports it: what the frame took
from the source and what it decoded to, as upstream’s
ZSTD_trace_decompress_end reports them.
Fields§
§compressed_size: u64Bytes of the frame read from the source, header and checksum included.
decompressed_size: u64Bytes the frame decoded to.
Trait Implementations§
Source§impl Clone for FinishedFrame
impl Clone for FinishedFrame
impl Copy for FinishedFrame
Source§impl Debug for FinishedFrame
impl Debug for FinishedFrame
impl Eq for FinishedFrame
Source§impl PartialEq for FinishedFrame
impl PartialEq for FinishedFrame
impl StructuralPartialEq for FinishedFrame
Auto Trait Implementations§
impl Freeze for FinishedFrame
impl RefUnwindSafe for FinishedFrame
impl Send for FinishedFrame
impl Sync for FinishedFrame
impl Unpin for FinishedFrame
impl UnsafeUnpin for FinishedFrame
impl UnwindSafe for FinishedFrame
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