[][src]Struct async_gcode::Parser

pub struct Parser<S, E> where
    S: Stream<Item = Result<u8, E>> + Unpin
{ /* fields omitted */ }

Implementations

impl<S, E> Parser<S, E> where
    S: Stream<Item = Result<u8, E>> + Unpin,
    E: From<Error>, 
[src]

pub fn new(input: S) -> Self[src]

pub async fn next<'_>(&'_ mut self) -> Option<Result<GCode, E>>[src]

Auto Trait Implementations

impl<S, E> RefUnwindSafe for Parser<S, E> where
    S: RefUnwindSafe

impl<S, E> Send for Parser<S, E> where
    S: Send

impl<S, E> Sync for Parser<S, E> where
    S: Sync

impl<S, E> Unpin for Parser<S, E> where
    S: TryStream

impl<S, E> UnwindSafe for Parser<S, E> where
    S: 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, 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.