pub enum SenderStep {
Reply(Frame),
Finished(u8),
}Expand description
What one incoming frame produced for a MissionSender.
A reply carries a whole frame buffer, which dwarfs the other variant; boxing it would need an allocator, and this layer has none.
Variants§
Reply(Frame)
Send this frame: the count that opens the transfer, a requested item, or an error.
Finished(u8)
The receiver has acknowledged the transfer with this
MAV_MISSION_RESULT; nothing more to send.
Trait Implementations§
Source§impl Clone for SenderStep
impl Clone for SenderStep
Source§fn clone(&self) -> SenderStep
fn clone(&self) -> SenderStep
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SenderStep
Auto Trait Implementations§
impl Freeze for SenderStep
impl RefUnwindSafe for SenderStep
impl Send for SenderStep
impl Sync for SenderStep
impl Unpin for SenderStep
impl UnsafeUnpin for SenderStep
impl UnwindSafe for SenderStep
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