aboutsummaryrefslogtreecommitdiff
path: root/src/imap/command/selected.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-06-22 14:58:57 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-06-22 14:59:32 +0200
commit98f55be7304ef1078960408ff4435109601c0206 (patch)
treee06c089fb2da88d8901649c0a5379ff9a3f043ed /src/imap/command/selected.rs
parentc04b16a601c180c768cee805363ae0c6985d767a (diff)
downloadaerogramme-98f55be7304ef1078960408ff4435109601c0206.tar.gz
aerogramme-98f55be7304ef1078960408ff4435109601c0206.zip
It compiles again!
Diffstat (limited to 'src/imap/command/selected.rs')
-rw-r--r--src/imap/command/selected.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/imap/command/selected.rs b/src/imap/command/selected.rs
index 61e9c1a..93592c1 100644
--- a/src/imap/command/selected.rs
+++ b/src/imap/command/selected.rs
@@ -12,7 +12,8 @@ use crate::imap::session::InnerContext;
use crate::imap::flow::User;
use crate::mailbox::Mailbox;
-pub async fn dispatch<'a>(inner: &'a InnerContext<'a>, user: &'a User, mailbox: &'a Mailbox) -> Result<Response> {
+/*
+pub async fn dispatch<'a>(inner: InnerContext<'a>, user: &'a User, mailbox: &'a Mailbox) -> Result<Response> {
let ctx = StateContext { inner, user, mailbox, tag: &inner.req.tag };
match ctx.inner.req.body {
@@ -20,9 +21,11 @@ pub async fn dispatch<'a>(inner: &'a InnerContext<'a>, user: &'a User, mailbox:
_ => authenticated::dispatch(inner, user).await,
}
}
+*/
// --- PRIVATE ---
+/*
struct StateContext<'a> {
inner: InnerContext<'a>,
user: &'a User,
@@ -43,3 +46,4 @@ impl<'a> StateContext<'a> {
])
}
}
+*/