aboutsummaryrefslogtreecommitdiff
path: root/src/imap/response.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-02-22 17:30:40 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-02-22 17:30:40 +0100
commit2adf73dd8e6e76997d4fb67f9f7b3fe065530722 (patch)
treeeb8e82dda00db9a99c4f509d572f4dbd2ae1d541 /src/imap/response.rs
parent3f204b102abb408a9f0b2adc45065585ddc16a88 (diff)
downloadaerogramme-2adf73dd8e6e76997d4fb67f9f7b3fe065530722.tar.gz
aerogramme-2adf73dd8e6e76997d4fb67f9f7b3fe065530722.zip
Update imap-flow, clean IDLE
Diffstat (limited to 'src/imap/response.rs')
-rw-r--r--src/imap/response.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/imap/response.rs b/src/imap/response.rs
index 40e6927..b6a0e98 100644
--- a/src/imap/response.rs
+++ b/src/imap/response.rs
@@ -118,6 +118,7 @@ impl<'a> Response<'a> {
#[derive(Debug)]
pub enum ResponseOrIdle {
Response(Response<'static>),
- StartIdle(Arc<Notify>),
+ IdleAccept(Arc<Notify>),
+ IdleReject(Response<'static>),
IdleEvent(Vec<Body<'static>>),
}