aboutsummaryrefslogtreecommitdiff
path: root/src/imap/command/authenticated.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-07-12 15:31:29 +0200
committerAlex Auvolat <alex@adnab.me>2022-07-12 15:31:29 +0200
commit5d6e4f73322b26038e76e6f915c6c79c5f03566e (patch)
treefe052de771cb5fb6f28cbcba03c2c63993063c70 /src/imap/command/authenticated.rs
parent7b888ed8cfecc30468c4a33e1f0a3e4bbced5df4 (diff)
downloadaerogramme-5d6e4f73322b26038e76e6f915c6c79c5f03566e.tar.gz
aerogramme-5d6e4f73322b26038e76e6f915c6c79c5f03566e.zip
cleanup
Diffstat (limited to 'src/imap/command/authenticated.rs')
-rw-r--r--src/imap/command/authenticated.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/imap/command/authenticated.rs b/src/imap/command/authenticated.rs
index f46dfb4..e7198ee 100644
--- a/src/imap/command/authenticated.rs
+++ b/src/imap/command/authenticated.rs
@@ -165,21 +165,21 @@ impl<'a> AuthenticatedContext<'a> {
async fn status(
self,
mailbox: &MailboxCodec,
- attributes: &[StatusAttribute],
+ _attributes: &[StatusAttribute],
) -> Result<(Response, flow::Transition)> {
- let name = String::try_from(mailbox.clone())?;
+ let _name = String::try_from(mailbox.clone())?;
Ok((Response::bad("Not implemented")?, flow::Transition::None))
}
async fn subscribe(self, mailbox: &MailboxCodec) -> Result<(Response, flow::Transition)> {
- let name = String::try_from(mailbox.clone())?;
+ let _name = String::try_from(mailbox.clone())?;
Ok((Response::bad("Not implemented")?, flow::Transition::None))
}
async fn unsubscribe(self, mailbox: &MailboxCodec) -> Result<(Response, flow::Transition)> {
- let name = String::try_from(mailbox.clone())?;
+ let _name = String::try_from(mailbox.clone())?;
Ok((
Response::bad("Aerogramme does not support unsubscribing from a mailbox")?,