pub struct SendData<'node> { /* private fields */ }Expand description
“Transmit data on the bus” state.
Call send_data() to get a reference to the data to be transmitted,
and then call data_sent() when the data has been successfully transmitted.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'node> !UnwindSafe for SendData<'node>
impl<'node> Freeze for SendData<'node>
impl<'node> RefUnwindSafe for SendData<'node>
impl<'node> Send for SendData<'node>
impl<'node> Sync for SendData<'node>
impl<'node> Unpin for SendData<'node>
impl<'node> UnsafeUnpin for SendData<'node>
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