[][src]Type Definition async_stm32f1xx::serial::RxStream3

type RxStream3<BUF> = RxStream<BUF, RxDma3>;

A type shorthand for specifying different DMA channels easily.

Implementations

impl<BUF> RxStream3<BUF>[src]

pub fn new(buf: &'static mut [BUF; 2], rx: RxDma3) -> Self where
    BUF: AsMutSlice<Element = u8>, 
[src]

Creates a new RxStream from the specified buffers and DMA transmitter.

pub fn release(self) -> (&'static mut [BUF; 2], RxDma3)[src]

Releases the buffers and DMA transmitter.

Trait Implementations

impl<BUF> FusedStream for RxStream3<BUF> where
    BUF: Clone
[src]

impl<BUF> Stream for RxStream3<BUF> where
    BUF: Clone
[src]

type Item = Result<BUF, Error>

Values yielded by the stream.