Enum Chunk
skimmer::data
pub enum Chunk<'a> { Slice(&'a [u8]), Vec(Vec<u8>), }
Slice(&'a [u8])
Vec(Vec<u8>)
impl<'a> Chunk<'a>
fn as_slice(&self) -> &[u8]
impl<'a, 'b> Into<&'b [u8]> for &'b Chunk<'a>
fn into(self) -> &'b [u8]
Performs the conversion.
impl<'a> From<Vec<u8>> for Chunk<'a>
fn from(v: Vec<u8>) -> Chunk<'a>