pub struct HeaderParser;Trait Implementations§
Source§impl FieldParser for HeaderParser
impl FieldParser for HeaderParser
type Output = Header
fn parse(inp: &[u8]) -> IResult<&[u8], Self::Output>
fn parse_into<'a, 'b>(inp: &'a [u8], dst: &'b mut Self::Output) -> &'a [u8] ⓘ
fn parse_into_vec<'a>(inp: &'a [u8], dst: &mut Vec<Self::Output>) -> &'a [u8] ⓘ
fn parse_into_option<'a>( inp: &'a [u8], dst: &mut Option<Self::Output>, ) -> &'a [u8] ⓘ
Auto Trait Implementations§
impl Freeze for HeaderParser
impl RefUnwindSafe for HeaderParser
impl Send for HeaderParser
impl Sync for HeaderParser
impl Unpin for HeaderParser
impl UnwindSafe for HeaderParser
Blanket Implementations§
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