[][src]Struct esp8266_hal::uart::UART0Serial

pub struct UART0Serial { /* fields omitted */ }

Implementations

impl UART0Serial[src]

pub fn decompose(
    self
) -> Result<(Gpio1<UART>, Gpio3<UART>, Gpio13<UART>, Gpio15<UART>), Void>
[src]

free up the uart device and return the pins used

This operation blocks while there are still bytes in the transmit buffer

Trait Implementations

impl Read<u8> for UART0Serial[src]

type Error = Void

Read error

fn read(&mut self) -> Result<u8, Self::Error>[src]

Reads a single word from the serial interface

impl Write<u8> for UART0Serial[src]

type Error = Void

Write error

Auto Trait Implementations

impl Send for UART0Serial

impl !Sync for UART0Serial

impl Unpin for UART0Serial

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.