Struct hash_roll::bup::Bup
[−]
[src]
pub struct Bup { /* fields omitted */ }
Trait Implementations
impl Clone for Bup
[src]
fn clone(&self) -> Bup
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for Bup
[src]
impl Eq for Bup
[src]
impl PartialEq for Bup
[src]
fn eq(&self, __arg_0: &Bup) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Bup) -> bool
This method tests for !=
.
impl Default for Bup
[src]
impl Splitter for Bup
[src]
fn find_chunk_edge(&self, data: &[u8]) -> usize
Find the location (if any) to split data
based on this splitter. Read more
fn next_iter<'a, T: Iterator<Item = u8>>(&'a self, iter: T) -> Option<Vec<u8>>
Return chunks from a given iterator, split according to the splitter used. Read more
fn split<'b>(&self, data: &'b [u8]) -> (&'b [u8], &'b [u8])
Split data into 2 pieces using a given splitter. Read more
fn into_slices<'a>(self, data: &'a [u8]) -> SplitterSlices<'a, Self> where
Self: Sized,
Self: Sized,
Create an iterator over slices from a slice and a splitter. The splitter is consumed. Read more
fn as_slices<'a>(&'a self, data: &'a [u8]) -> SplitterSlices<'a, &Self> where
Self: Sized,
Self: Sized,
fn into_vecs<'a, T: Iterator<Item = u8>>(self, data: T) -> SplitterVecs<T, Self> where
Self: Sized,
Self: Sized,
Create an iterator of Vec<u8>
from an input Iterator of bytes. The splitter is consumed. Read more
fn as_vecs<'a, T: Iterator<Item = u8>>(
&'a self,
data: T
) -> SplitterVecs<T, &Self> where
Self: Sized,
&'a self,
data: T
) -> SplitterVecs<T, &Self> where
Self: Sized,