pub struct ReceiverStep {
pub accepted: Option<MissionItemInt>,
pub action: ReceiverAction,
pub reply: Frame,
}Expand description
What one incoming frame produced for a MissionReceiver.
Fields§
§accepted: Option<MissionItemInt>The item the frame carried, if it was the one expected next.
action: ReceiverActionThe next thing to send, as the machine sees it.
reply: FrameThat same thing, ready for the link.
Trait Implementations§
Source§impl Clone for ReceiverStep
impl Clone for ReceiverStep
Source§fn clone(&self) -> ReceiverStep
fn clone(&self) -> ReceiverStep
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 ReceiverStep
Auto Trait Implementations§
impl Freeze for ReceiverStep
impl RefUnwindSafe for ReceiverStep
impl Send for ReceiverStep
impl Sync for ReceiverStep
impl Unpin for ReceiverStep
impl UnsafeUnpin for ReceiverStep
impl UnwindSafe for ReceiverStep
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