Struct mini_rxtx::MiniTxRx [−][src]
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]
RX: Read<u8>,
TX: Write<u8>,
RxSize: ArrayLength<u8>,
TxSize: ArrayLength<u8>,
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,
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,
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,
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]
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,
pub 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.
pub 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>,