[][src]Struct pl011_qemu::Rx

pub struct Rx<UART> { /* fields omitted */ }

Represents read half of UART.

Implementations

impl<T> Rx<T> where
    T: ConstRegBlockPtr<PL011_Regs>, 
[src]

pub fn read_byte(&self) -> u8[src]

reads a single byte out the uart

spins until a byte is available in the fifo

Trait Implementations

impl<T> Read<u8> for Rx<T> where
    T: ConstRegBlockPtr<PL011_Regs>, 
[src]

type Error = Error

Read error

Auto Trait Implementations

impl<UART> Send for Rx<UART> where
    UART: Send
[src]

impl<UART> Sync for Rx<UART> where
    UART: Sync
[src]

impl<UART> Unpin for Rx<UART> where
    UART: Unpin
[src]

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.