pub enum Transaction<'rd, 'wr> {
Command(Cmd),
Read(Cmd, &'rd mut [u8]),
Write(Cmd, &'wr [u8]),
WaitForBusyClear,
}
Variants§
Auto Trait Implementations§
impl<'rd, 'wr> Freeze for Transaction<'rd, 'wr>
impl<'rd, 'wr> RefUnwindSafe for Transaction<'rd, 'wr>
impl<'rd, 'wr> Send for Transaction<'rd, 'wr>
impl<'rd, 'wr> Sync for Transaction<'rd, 'wr>
impl<'rd, 'wr> Unpin for Transaction<'rd, 'wr>
impl<'rd, 'wr> !UnwindSafe for Transaction<'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