pub struct PigzRsyncable { /* private fields */ }
Implementations§
Source§impl PigzRsyncable
impl PigzRsyncable
pub fn with_bits(bits: u8) -> PigzRsyncable
Trait Implementations§
Source§impl Chunk for PigzRsyncable
impl Chunk for PigzRsyncable
Source§type SearchState = PigzRsyncableSearchState
type SearchState = PigzRsyncableSearchState
SearchState
allows searching for the chunk edge to resume without duplicating work
already done.Source§fn to_search_state(&self) -> Self::SearchState
fn to_search_state(&self) -> Self::SearchState
Provide an initial [
SearchState
] for use with [find_chunk_edge()
]. Generally, for each
input one should generate a new [SearchState
].Source§fn find_chunk_edge(
&self,
state: &mut Self::SearchState,
data: &[u8],
) -> (Option<usize>, usize)
fn find_chunk_edge( &self, state: &mut Self::SearchState, data: &[u8], ) -> (Option<usize>, usize)
Find the next “chunk” in
data
to emit Read moreSource§impl Clone for PigzRsyncable
impl Clone for PigzRsyncable
Source§fn clone(&self) -> PigzRsyncable
fn clone(&self) -> PigzRsyncable
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 PigzRsyncable
impl Debug for PigzRsyncable
Source§impl Default for PigzRsyncable
impl Default for PigzRsyncable
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 PigzRsyncableSearchState
impl From<&PigzRsyncable> for PigzRsyncableSearchState
Source§fn from(params: &PigzRsyncable) -> Self
fn from(params: &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.
Source§impl PartialEq for PigzRsyncable
impl PartialEq for PigzRsyncable
Source§impl ToChunkIncr for PigzRsyncable
impl ToChunkIncr for PigzRsyncable
Source§type Incr = PigzRsyncableIncr
type Incr = PigzRsyncableIncr
Incr
provides the incrimental interface to this chunking instanceimpl Eq for PigzRsyncable
impl StructuralPartialEq for PigzRsyncable
Auto Trait Implementations§
impl Freeze for PigzRsyncable
impl RefUnwindSafe for PigzRsyncable
impl Send for PigzRsyncable
impl Sync for PigzRsyncable
impl Unpin for PigzRsyncable
impl UnwindSafe for PigzRsyncable
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