diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-05-08 15:49:07 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-05-08 15:49:07 +0800 |
| commit | b47bdc15fdb78ac5e78b2e04aca0190c84aa78f4 (patch) | |
| tree | bcc56f3418f4ecc51714a6cd46de015132cc1f93 /mingling_core/src/program.rs | |
| parent | e875a80d52e5e44f107366cd4825936c44c824bb (diff) | |
Add error type aliases to ProgramCollect trait
Diffstat (limited to 'mingling_core/src/program.rs')
| -rw-r--r-- | mingling_core/src/program.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mingling_core/src/program.rs b/mingling_core/src/program.rs index febb5db..c7544f5 100644 --- a/mingling_core/src/program.rs +++ b/mingling_core/src/program.rs @@ -294,6 +294,8 @@ where pub trait ProgramCollect { /// Enum type representing internal IDs for the program type Enum: Display; + type DispatcherNotFound: Groupped<Self::Enum>; + type RendererNotFound: Groupped<Self::Enum>; /// Use a prefix tree to quickly match arguments and dispatch to an Entry #[cfg(feature = "dispatch_tree")] |
