From 3d23f0c936516ed89f2888fb44babb3994e8d579 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Wed, 17 Jan 2024 08:22:15 +0100 Subject: WIP refactor idle --- src/imap/request.rs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/imap/request.rs (limited to 'src/imap/request.rs') 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), +} -- cgit v1.2.3 From 1a0247e9352619bed45dfb8101133261cfecb512 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Wed, 17 Jan 2024 10:14:48 +0100 Subject: WIP idle --- src/imap/request.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/imap/request.rs') diff --git a/src/imap/request.rs b/src/imap/request.rs index c458276..2382b09 100644 --- a/src/imap/request.rs +++ b/src/imap/request.rs @@ -4,5 +4,5 @@ use tokio::sync::Notify; #[derive(Debug)] pub enum Request { ImapCommand(Command<'static>), - IdleUntil(Notify), + Idle, } -- cgit v1.2.3 From e1161cab0e71ec604e376d2d87f7d1226f3f0244 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Wed, 17 Jan 2024 16:56:05 +0100 Subject: idle sync --- src/imap/request.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'src/imap/request.rs') diff --git a/src/imap/request.rs b/src/imap/request.rs index 2382b09..49b4992 100644 --- a/src/imap/request.rs +++ b/src/imap/request.rs @@ -1,5 +1,4 @@ use imap_codec::imap_types::command::Command; -use tokio::sync::Notify; #[derive(Debug)] pub enum Request { -- cgit v1.2.3