[−][src]Trait amq_protocol_types::parsing::traits::InputTake
Reexport nom traits required for parsing Abstracts slicing operations
Required methods
fn take(&self, count: usize) -> Self
Returns a slice of count
bytes. panics if count > length
fn take_split(&self, count: usize) -> (Self, Self)
Split the stream at the count
byte offset. panics if count > length
Implementations on Foreign Types
impl<'a, O, T> InputTake for &'a BitSlice<O, T> where
O: BitOrder,
T: 'a + BitStore,
[src]
O: BitOrder,
T: 'a + BitStore,
pub fn take(&self, count: usize) -> &'a BitSlice<O, T>
[src]
pub fn take_split(
&self,
count: usize
) -> (&'a BitSlice<O, T>, &'a BitSlice<O, T>)
[src]
&self,
count: usize
) -> (&'a BitSlice<O, T>, &'a BitSlice<O, T>)