diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-09-12 23:33:54 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-09-12 23:33:54 +0800 |
| commit | 40099749a6b264593ad54032411f02df9967790c (patch) | |
| tree | 6ead79fd2c8930db1a64b80e40aa611f440dca8b /src/client/executor.rs | |
| parent | bc6b38c1b627c6dcdd50896ded4148dd6e0734ba (diff) | |
refactor: don't use concurrency, single threaded for now
Diffstat (limited to 'src/client/executor.rs')
| -rw-r--r-- | src/client/executor.rs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/client/executor.rs b/src/client/executor.rs new file mode 100644 index 0000000..eee1b36 --- /dev/null +++ b/src/client/executor.rs @@ -0,0 +1,15 @@ +use crate::executor::tasks::Task; + +mod tasks; + +struct Executor<T: Task> { + task: T, +} + +impl<T: Task> Executor<T> { + // fn new(args: &str) -> Self { + // // exe(parse()) + // } + + // IntoTask like IntoUrl +} |
