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

pub struct BytesCmp<C, I>(_, _, _)
where
    I: Stream<Item = u8>,
    I::Error: ParseError<I::Item, I::Range, I::Position>
;

Trait Implementations

impl<C: Clone, I: Clone> Clone for BytesCmp<C, I> where
    I: Stream<Item = u8>,
    I::Error: ParseError<I::Item, I::Range, I::Position>, 
[src]

impl<C: Copy, I: Copy> Copy for BytesCmp<C, I> where
    I: Stream<Item = u8>,
    I::Error: ParseError<I::Item, I::Range, I::Position>, 
[src]

impl<'a, C, I> Parser for BytesCmp<C, I> where
    C: FnMut(u8, u8) -> bool,
    I: Stream<Item = u8, Range = &'a [u8]>,
    I::Error: ParseError<I::Item, I::Range, I::Position>, 
[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 = &'static [u8]

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<C, I> RefUnwindSafe for BytesCmp<C, I> where
    C: RefUnwindSafe,
    I: RefUnwindSafe

impl<C, I> Send for BytesCmp<C, I> where
    C: Send,
    I: Send

impl<C, I> Sync for BytesCmp<C, I> where
    C: Sync,
    I: Sync

impl<C, I> Unpin for BytesCmp<C, I> where
    C: Unpin,
    I: Unpin

impl<C, I> UnwindSafe for BytesCmp<C, I> where
    C: UnwindSafe,
    I: UnwindSafe

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.