diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-03-29 17:10:48 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-03-29 17:10:48 +0800 |
| commit | 637c5507a18390fbe6087805f5204328cdc94bcf (patch) | |
| tree | e7750b64af31e9962dcb4a6f5b33300f8a7bd874 /mingling/src/program/hint.rs | |
| parent | 7695f02c677baa24df7b23e040d486cfa8553bef (diff) | |
Remove ProgramEnd and NoChainFound hint markers
Diffstat (limited to 'mingling/src/program/hint.rs')
| -rw-r--r-- | mingling/src/program/hint.rs | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/mingling/src/program/hint.rs b/mingling/src/program/hint.rs index f8eb01e..1e93367 100644 --- a/mingling/src/program/hint.rs +++ b/mingling/src/program/hint.rs @@ -1,27 +1,5 @@ use crate::{AnyOutput, ChainProcess, Dispatcher, Node}; -/// Marker: Program End -/// -/// If a chain outputs ProgramEnd to the Chain, -/// the program will terminate directly. -/// -/// You can implement Renderer for ProgramEnd -/// to render relevant information after the program ends. -#[cfg_attr(feature = "serde_renderer", derive(serde::Serialize))] -pub struct ProgramEnd; - -/// Marker: Chain Not Found -/// -/// If a Chain or Dispatcher outputs NoChainFound to the Chain, -/// the program will terminate directly. -/// -/// You can implement Renderer for NoChainFound -/// to render relevant information when a Chain cannot be found. -#[cfg_attr(feature = "serde_renderer", derive(serde::Serialize))] -pub struct NoChainFound { - pub name: String, -} - /// Marker: Dispatcher Not Found /// /// If a Dispatcher outputs NoDispatcherFound to the Chain, |
