Struct combine::parser::byte::TakeUntilByte2[][src]

pub struct TakeUntilByte2<I> where
    <I as StreamOnce>::Error: ParseError<<I as StreamOnce>::Item, <I as StreamOnce>::Range, <I as StreamOnce>::Position>,
    I: RangeStream + FullRangeStream,
    I::Range: AsRef<[u8]> + Range
{ pub a: u8, pub b: u8, // some fields omitted }

Fields

a: u8b: u8

Trait Implementations

impl<I: Clone> Clone for TakeUntilByte2<I> where
    <I as StreamOnce>::Error: ParseError<<I as StreamOnce>::Item, <I as StreamOnce>::Range, <I as StreamOnce>::Position>,
    I: RangeStream + FullRangeStream,
    I::Range: AsRef<[u8]> + Range,
    I::Range: Clone
[src]

impl<I> Parser for TakeUntilByte2<I> where
    <I as StreamOnce>::Error: ParseError<<I as StreamOnce>::Item, <I as StreamOnce>::Range, <I as StreamOnce>::Position>,
    I: RangeStream + FullRangeStream,
    I::Range: AsRef<[u8]> + Range
[src]

type Input = I

The type which is taken as input for the parser. The type must implement the Stream trait which allows the parser to read items from the type. Read more

type Output = I::Range

The type which is returned if the parser is successful.

type PartialState = ()

Determines the state necessary to resume parsing after more input is supplied. Read more

Auto Trait Implementations

impl<I> RefUnwindSafe for TakeUntilByte2<I>

impl<I> Send for TakeUntilByte2<I>

impl<I> Sync for TakeUntilByte2<I>

impl<I> Unpin for TakeUntilByte2<I>

impl<I> UnwindSafe for TakeUntilByte2<I>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.