pub enum AckForwardCommand {
Receive {
mrid: String,
doc_type: String,
sender: String,
receiver: String,
received_at: String,
},
Acknowledge {
ack_mrid: String,
},
Forward {
upstream_mrid: String,
},
TimeoutExpired {
deadline_id: DeadlineId,
label: Box<str>,
},
}Expand description
Commands shared by all acknowledge-and-forward workflows.
Variants§
Receive
Inbound document received.
Fields
Acknowledge
AcknowledgementDocument dispatched.
Forward
Document forwarded upstream.
TimeoutExpired
Deadline fired.
Fields
§
deadline_id: DeadlineIdUnique ID of the expired deadline.
Trait Implementations§
Source§impl Clone for AckForwardCommand
impl Clone for AckForwardCommand
Source§fn clone(&self) -> AckForwardCommand
fn clone(&self) -> AckForwardCommand
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 CommandPayload for AckForwardCommand
Auto Trait Implementations§
impl Freeze for AckForwardCommand
impl RefUnwindSafe for AckForwardCommand
impl Send for AckForwardCommand
impl Sync for AckForwardCommand
impl Unpin for AckForwardCommand
impl UnsafeUnpin for AckForwardCommand
impl UnwindSafe for AckForwardCommand
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