[−][src]Struct at_rs::ATParser
Methods
impl<Serial, Command, Response> ATParser<Serial, Command, Response> where
Serial: Write<u8> + Read<u8>,
Command: ATCommandInterface<Response>,
Response: Debug,
[src]
Serial: Write<u8> + Read<u8>,
Command: ATCommandInterface<Response>,
Response: Debug,
pub fn new(
serial: Serial,
queues: (Consumer<'static, Command, U10, u8>, Producer<'static, Result<Response, ATError>, U10, u8>)
) -> Self
[src]
serial: Serial,
queues: (Consumer<'static, Command, U10, u8>, Producer<'static, Result<Response, ATError>, U10, u8>)
) -> Self
pub fn release(
self
) -> (Serial, (Consumer<'static, Command, U10, u8>, Producer<'static, Result<Response, ATError>, U10, u8>))
[src]
self
) -> (Serial, (Consumer<'static, Command, U10, u8>, Producer<'static, Result<Response, ATError>, U10, u8>))
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,
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,
C: Unpin,
Serial: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,