summaryrefslogtreecommitdiff
path: root/src/client/executor.rs
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-09-12 23:33:54 +0800
committerlittleblack111 <littleblack11111@gmail.com>2025-09-12 23:33:54 +0800
commit40099749a6b264593ad54032411f02df9967790c (patch)
tree6ead79fd2c8930db1a64b80e40aa611f440dca8b /src/client/executor.rs
parentbc6b38c1b627c6dcdd50896ded4148dd6e0734ba (diff)
refactor: don't use concurrency, single threaded for now
Diffstat (limited to 'src/client/executor.rs')
-rw-r--r--src/client/executor.rs15
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
+}