[][src]Struct at_rs::ATParser

pub struct ATParser<Serial, C, R> where
    Serial: Write<u8> + Read<u8>,
    C: ATCommandInterface<R>,
    R: Debug
{ /* fields omitted */ }

Methods

impl<Serial, Command, Response> ATParser<Serial, Command, Response> where
    Serial: Write<u8> + Read<u8>,
    Command: ATCommandInterface<Response>,
    Response: Debug
[src]

pub fn new(
    serial: Serial,
    queues: (Consumer<'static, Command, U10, u8>, Producer<'static, Result<Response, ATError>, U10, u8>)
) -> Self
[src]

pub fn release(
    self
) -> (Serial, (Consumer<'static, Command, U10, u8>, Producer<'static, Result<Response, ATError>, U10, u8>))
[src]

pub fn handle_irq(&mut self)[src]

pub fn spin(&mut self)[src]

Auto Trait Implementations

impl<Serial, C, R> Send for ATParser<Serial, C, R> where
    C: Send,
    R: Send,
    Serial: Send

impl<Serial, C, R> !Sync for ATParser<Serial, C, R>

impl<Serial, C, R> Unpin for ATParser<Serial, C, R> where
    C: Unpin,
    Serial: Unpin

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> Same<T> for T

type Output = T

Should always be Self

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.