aboutsummaryrefslogtreecommitdiff
path: root/src/imap/request.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-01-17 08:22:15 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-01-17 08:22:15 +0100
commit3d23f0c936516ed89f2888fb44babb3994e8d579 (patch)
tree79315188155cfe91d5cc5c98b3c6ead17d8f2e15 /src/imap/request.rs
parent55e26d24a08519ded6a6898453dcd6db287f45c8 (diff)
downloadaerogramme-3d23f0c936516ed89f2888fb44babb3994e8d579.tar.gz
aerogramme-3d23f0c936516ed89f2888fb44babb3994e8d579.zip
WIP refactor idle
Diffstat (limited to 'src/imap/request.rs')
-rw-r--r--src/imap/request.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/imap/request.rs b/src/imap/request.rs
new file mode 100644
index 0000000..c458276
--- /dev/null
+++ b/src/imap/request.rs
@@ -0,0 +1,8 @@
+use imap_codec::imap_types::command::Command;
+use tokio::sync::Notify;
+
+#[derive(Debug)]
+pub enum Request {
+ ImapCommand(Command<'static>),
+ IdleUntil(Notify),
+}