#[non_exhaustive]pub enum FlowSelectionError {
UnknownNode {
node: NodeId,
},
UnmappedExitOutcome {
node: NodeId,
code: ExitCode,
},
}Expand description
A compiled plan that cannot route one observed exit outcome.
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.
UnknownNode
The requested node is not part of this plan.
UnmappedExitOutcome
No declared pattern matches the produced exit outcome.
Trait Implementations§
Source§impl Clone for FlowSelectionError
impl Clone for FlowSelectionError
Source§fn clone(&self) -> FlowSelectionError
fn clone(&self) -> FlowSelectionError
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 moreSource§impl Debug for FlowSelectionError
impl Debug for FlowSelectionError
Source§impl Display for FlowSelectionError
impl Display for FlowSelectionError
impl Eq for FlowSelectionError
Source§impl Error for FlowSelectionError
impl Error for FlowSelectionError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for FlowSelectionError
impl PartialEq for FlowSelectionError
impl StructuralPartialEq for FlowSelectionError
Auto Trait Implementations§
impl Freeze for FlowSelectionError
impl RefUnwindSafe for FlowSelectionError
impl Send for FlowSelectionError
impl Sync for FlowSelectionError
impl Unpin for FlowSelectionError
impl UnsafeUnpin for FlowSelectionError
impl UnwindSafe for FlowSelectionError
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