pub enum Transfer<'rd, 'wr> {
Read(&'rd mut [u8]),
Write(&'wr [u8]),
Both(&'wr [u8], &'rd mut [u8]),
TpmPoll,
GscReady,
}
Expand description
Represents a SPI transfer.
Variants§
Auto Trait Implementations§
impl<'rd, 'wr> Freeze for Transfer<'rd, 'wr>
impl<'rd, 'wr> RefUnwindSafe for Transfer<'rd, 'wr>
impl<'rd, 'wr> Send for Transfer<'rd, 'wr>
impl<'rd, 'wr> Sync for Transfer<'rd, 'wr>
impl<'rd, 'wr> Unpin for Transfer<'rd, 'wr>
impl<'rd, 'wr> !UnwindSafe for Transfer<'rd, 'wr>
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