Struct anstream::adapter::StripBytes
source · pub struct StripBytes { /* private fields */ }
Expand description
Incrementally strip non-contiguous data
Implementations§
source§impl StripBytes
impl StripBytes
sourcepub fn strip_next<'s>(&'s mut self, bytes: &'s [u8]) -> StripBytesIter<'s> ⓘ
pub fn strip_next<'s>(&'s mut self, bytes: &'s [u8]) -> StripBytesIter<'s> ⓘ
Strip the next segment of data
Trait Implementations§
source§impl Clone for StripBytes
impl Clone for StripBytes
source§fn clone(&self) -> StripBytes
fn clone(&self) -> StripBytes
Returns a copy 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 StripBytes
impl Debug for StripBytes
source§impl Default for StripBytes
impl Default for StripBytes
source§fn default() -> StripBytes
fn default() -> StripBytes
Returns the “default value” for a type. Read more
source§impl PartialEq<StripBytes> for StripBytes
impl PartialEq<StripBytes> for StripBytes
source§fn eq(&self, other: &StripBytes) -> bool
fn eq(&self, other: &StripBytes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.