aboutsummaryrefslogtreecommitdiff
path: root/src/imap/request.rs
diff options
context:
space:
mode:
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),
+}