pub struct PigzRsyncableIncr { /* private fields */ }
Expand description
Provides an incremental interface to PigzRsyncable
Performance Note: PigzRsyncable
requires look-back. As a result, PigzRsyncableIncr
internally
buffers data up to the window size. This additional copying may affect performance. If
possible for your use case, use the non-incremental interface.
See PigzRsyncable
for details on the underlying algorithm
Trait Implementations§
Source§impl ChunkIncr for PigzRsyncableIncr
impl ChunkIncr for PigzRsyncableIncr
Source§fn push(&mut self, data: &[u8]) -> Option<usize>
fn push(&mut self, data: &[u8]) -> Option<usize>
The data “contained” within a implimentor of this trait is the history of all data slices
passed to feed. Read more
Source§fn iter_slices<'a>(self, data: &'a [u8]) -> IterSlices<'a, Self> ⓘwhere
Self: Sized,
fn iter_slices<'a>(self, data: &'a [u8]) -> IterSlices<'a, Self> ⓘwhere
Self: Sized,
Source§fn iter_slices_strict<'a>(self, data: &'a [u8]) -> IterSlicesStrict<'a, Self> ⓘwhere
Self: Sized,
fn iter_slices_strict<'a>(self, data: &'a [u8]) -> IterSlicesStrict<'a, Self> ⓘwhere
Self: Sized,
Given a
ChunkIncr
and a single slice, return a list of slices chunked by the chunker.
Does not return the remainder (if any) in the iteration. Use [IterSlices::take_rem()
] or
IterSlices::into_parts()
to get the remainder. Read moreSource§impl Clone for PigzRsyncableIncr
impl Clone for PigzRsyncableIncr
Source§fn clone(&self) -> PigzRsyncableIncr
fn clone(&self) -> PigzRsyncableIncr
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 PigzRsyncableIncr
impl Debug for PigzRsyncableIncr
Source§impl From<&PigzRsyncable> for PigzRsyncableIncr
impl From<&PigzRsyncable> for PigzRsyncableIncr
Source§fn from(src: &PigzRsyncable) -> Self
fn from(src: &PigzRsyncable) -> Self
Converts to this type from the input type.
Source§impl From<PigzRsyncable> for PigzRsyncableIncr
impl From<PigzRsyncable> for PigzRsyncableIncr
Source§fn from(params: PigzRsyncable) -> Self
fn from(params: PigzRsyncable) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PigzRsyncableIncr
impl RefUnwindSafe for PigzRsyncableIncr
impl Send for PigzRsyncableIncr
impl Sync for PigzRsyncableIncr
impl Unpin for PigzRsyncableIncr
impl UnwindSafe for PigzRsyncableIncr
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