#[non_exhaustive]pub enum ExternalSignalOutcome {
Delivered,
TargetNotFound,
TargetClosed,
Rejected,
}Expand description
The recorded outcome of a signal sent with
WorkflowContext::signal_external_workflow.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Delivered
The target run admitted the signal (SignalReceived in its history).
TargetNotFound
No workflow instance has that id in the namespace, or the requested run is not a run of it.
TargetClosed
The target run has closed, or the requested run was replaced.
Rejected
The target’s signal admission, or the Server, refused the signal.
Implementations§
Trait Implementations§
Source§impl Clone for ExternalSignalOutcome
impl Clone for ExternalSignalOutcome
Source§fn clone(&self) -> ExternalSignalOutcome
fn clone(&self) -> ExternalSignalOutcome
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExternalSignalOutcome
impl Debug for ExternalSignalOutcome
Source§impl Display for ExternalSignalOutcome
impl Display for ExternalSignalOutcome
Source§impl Hash for ExternalSignalOutcome
impl Hash for ExternalSignalOutcome
Source§impl PartialEq for ExternalSignalOutcome
impl PartialEq for ExternalSignalOutcome
impl Copy for ExternalSignalOutcome
impl Eq for ExternalSignalOutcome
impl StructuralPartialEq for ExternalSignalOutcome
Auto Trait Implementations§
impl Freeze for ExternalSignalOutcome
impl RefUnwindSafe for ExternalSignalOutcome
impl Send for ExternalSignalOutcome
impl Sync for ExternalSignalOutcome
impl Unpin for ExternalSignalOutcome
impl UnwindSafe for ExternalSignalOutcome
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