pub struct TxTransaction<'ch, 'data> { /* private fields */ }Expand description
An in-progress transaction for a single shot TX transaction.
If the data size exceeds the size of the internal buffer, .poll() or
.wait() needs to be called before the entire buffer has been sent to avoid
underruns.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'ch, 'data> Freeze for TxTransaction<'ch, 'data>
impl<'ch, 'data> RefUnwindSafe for TxTransaction<'ch, 'data>
impl<'ch, 'data> Send for TxTransaction<'ch, 'data>
impl<'ch, 'data> Sync for TxTransaction<'ch, 'data>
impl<'ch, 'data> Unpin for TxTransaction<'ch, 'data>
impl<'ch, 'data> UnsafeUnpin for TxTransaction<'ch, 'data>
impl<'ch, 'data> !UnwindSafe for TxTransaction<'ch, 'data>
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