pub struct AcceptedTurnInput { /* private fields */ }Expand description
An application message accepted for a specific in-process turn.
The caller creates this value before dispatch so it can acknowledge the stable message id without waiting for execution to begin.
Part of the steering contract this crate owes the published everruns
facade; see the module note on TurnSteering.
Implementations§
Source§impl AcceptedTurnInput
impl AcceptedTurnInput
pub fn new(input: impl Into<InputMessage>) -> Self
pub fn message_id(&self) -> MessageId
pub fn input(&self) -> &InputMessage
Trait Implementations§
Source§impl Clone for AcceptedTurnInput
impl Clone for AcceptedTurnInput
Source§fn clone(&self) -> AcceptedTurnInput
fn clone(&self) -> AcceptedTurnInput
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 moreAuto Trait Implementations§
impl Freeze for AcceptedTurnInput
impl RefUnwindSafe for AcceptedTurnInput
impl Send for AcceptedTurnInput
impl Sync for AcceptedTurnInput
impl Unpin for AcceptedTurnInput
impl UnsafeUnpin for AcceptedTurnInput
impl UnwindSafe for AcceptedTurnInput
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