pub struct TransferResources<Word, I, P, Rx: Target, Tx: Target, Buffer> {
pub rx_stream: Rx::Stream,
pub tx_stream: Tx::Stream,
pub target: Spi<I, P, Enabled<Word>>,
pub buffer: Pin<Buffer>,
}Expand description
The resources that an ongoing transfer needs exclusive access to
Fields§
§rx_stream: Rx::Stream§tx_stream: Tx::Stream§target: Spi<I, P, Enabled<Word>>§buffer: Pin<Buffer>Trait Implementations§
Auto Trait Implementations§
impl<Word, I, P, Rx, Tx, Buffer> Freeze for TransferResources<Word, I, P, Rx, Tx, Buffer>
impl<Word, I, P, Rx, Tx, Buffer> RefUnwindSafe for TransferResources<Word, I, P, Rx, Tx, Buffer>where
<Rx as Target>::Stream: RefUnwindSafe,
<Tx as Target>::Stream: RefUnwindSafe,
I: RefUnwindSafe,
P: RefUnwindSafe,
Buffer: RefUnwindSafe,
Word: RefUnwindSafe,
impl<Word, I, P, Rx, Tx, Buffer> Send for TransferResources<Word, I, P, Rx, Tx, Buffer>
impl<Word, I, P, Rx, Tx, Buffer> Sync for TransferResources<Word, I, P, Rx, Tx, Buffer>
impl<Word, I, P, Rx, Tx, Buffer> Unpin for TransferResources<Word, I, P, Rx, Tx, Buffer>
impl<Word, I, P, Rx, Tx, Buffer> UnwindSafe for TransferResources<Word, I, P, Rx, Tx, Buffer>where
<Rx as Target>::Stream: UnwindSafe,
<Tx as Target>::Stream: UnwindSafe,
I: UnwindSafe,
P: UnwindSafe,
Buffer: UnwindSafe,
Word: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more