Struct mini_rxtx::MiniTxRx[][src]

pub struct MiniTxRx<RX, TX, RxSize, TxSize> where
    RxSize: ArrayLength<u8>,
    TxSize: ArrayLength<u8>, 
{ /* fields omitted */ }

Implementations

impl<RX, TX, RxSize, TxSize> MiniTxRx<RX, TX, RxSize, TxSize> where
    RX: Read<u8>,
    TX: Write<u8>,
    RxSize: ArrayLength<u8>,
    TxSize: ArrayLength<u8>, 
[src]

pub fn new(tx: TX, rx: RX) -> Self[src]

pub fn pump(&mut self) -> Option<u8>[src]

pub fn send_msg(&mut self, m: SerializedMsg<'_>) -> Result<(), u8>[src]

pub fn on_interrupt(&mut self)[src]

Auto Trait Implementations

impl<RX, TX, RxSize, TxSize> !RefUnwindSafe for MiniTxRx<RX, TX, RxSize, TxSize>

impl<RX, TX, RxSize, TxSize> Send for MiniTxRx<RX, TX, RxSize, TxSize> where
    RX: Send,
    TX: Send

impl<RX, TX, RxSize, TxSize> !Sync for MiniTxRx<RX, TX, RxSize, TxSize>

impl<RX, TX, RxSize, TxSize> Unpin for MiniTxRx<RX, TX, RxSize, TxSize> where
    RX: Unpin,
    TX: Unpin,
    <RxSize as ArrayLength<u8>>::ArrayType: Unpin,
    <TxSize as ArrayLength<u8>>::ArrayType: Unpin

impl<RX, TX, RxSize, TxSize> UnwindSafe for MiniTxRx<RX, TX, RxSize, TxSize> where
    RX: UnwindSafe,
    TX: UnwindSafe,
    <RxSize as ArrayLength<u8>>::ArrayType: UnwindSafe,
    <TxSize as ArrayLength<u8>>::ArrayType: UnwindSafe

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.