pub struct ReflessInput<'d> { /* private fields */ }Trait Implementations§
Source§impl<'d> ParseInput for ReflessInput<'d>
impl<'d> ParseInput for ReflessInput<'d>
type Data = &'d [u8]
fn parse_chunk<'a, const N: usize>(&mut self) -> Result<&'a [u8; N]>where
Self: 'a,
fn parse_n(&mut self, n: usize) -> Result<Self::Data>
fn parse_until_zero(&mut self) -> Result<Self::Data>
fn reparse<T: Parse<Self>>(&mut self, data: Self::Data) -> Result<T>
fn parse_all(self) -> Result<Self::Data>
fn empty(self) -> Result<()>
fn non_empty(self) -> Result<Option<Self>>
fn parse_n_compare(&mut self, n: usize, c: &[u8]) -> Result<Option<Self::Data>>
fn parse_ahead<T: Parse<Self>>(&mut self, n: usize) -> Result<T>
fn parse_zero_terminated<T: Parse<Self>>(&mut self) -> Result<T>
fn parse_compare<T: Parse<Self>>( &mut self, n: usize, c: &[u8], ) -> Result<Option<T>>
fn consume(self, f: impl FnMut(&mut Self) -> Result<()>) -> Result<()>
fn parse_collect<T: ParseInline<Self>, B: FromIterator<T>>(self) -> Result<B>
fn collect<T, B: FromIterator<T>>( self, f: impl FnMut(&mut Self) -> Result<T>, ) -> Result<B>
fn iter<T>( self, f: impl FnMut(&mut Self) -> Result<T>, ) -> impl Iterator<Item = Result<T>>
fn parse_inline<T: ParseInline<Self>>(&mut self) -> Result<T>
fn parse<T: Parse<Self>>(self) -> Result<T>
fn parse_vec<T: ParseInline<Self>>(self) -> Result<Vec<T>>
Auto Trait Implementations§
impl<'d> Freeze for ReflessInput<'d>
impl<'d> RefUnwindSafe for ReflessInput<'d>
impl<'d> Send for ReflessInput<'d>
impl<'d> Sync for ReflessInput<'d>
impl<'d> Unpin for ReflessInput<'d>
impl<'d> UnwindSafe for ReflessInput<'d>
Blanket Implementations§
Source§impl<T> AsAny for T
impl<T> AsAny for T
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