diff options
Diffstat (limited to 'src/imap/command/authenticated.rs')
-rw-r--r-- | src/imap/command/authenticated.rs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/imap/command/authenticated.rs b/src/imap/command/authenticated.rs index c7e5642..392069f 100644 --- a/src/imap/command/authenticated.rs +++ b/src/imap/command/authenticated.rs @@ -1,14 +1,14 @@ -use anyhow::{anyhow, Error, Result}; +use anyhow::{Error, Result}; use boitalettres::proto::{res::body::Data as Body, Request, Response}; use imap_codec::types::command::CommandBody; use imap_codec::types::core::Atom; use imap_codec::types::flag::Flag; use imap_codec::types::mailbox::{ListMailbox, Mailbox as MailboxCodec}; -use imap_codec::types::response::{Code, Data, Response as ImapRes, Status}; +use imap_codec::types::response::{Code, Data, Status}; use crate::imap::command::anonymous; use crate::imap::flow; -use crate::imap::session::InnerContext; + use crate::mail::Mailbox; const DEFAULT_FLAGS: [Flag; 5] = [ @@ -50,16 +50,16 @@ pub async fn dispatch<'a>(ctx: AuthenticatedContext<'a>) -> Result<(Response, fl impl<'a> AuthenticatedContext<'a> { async fn lsub( self, - reference: &MailboxCodec, - mailbox_wildcard: &ListMailbox, + _reference: &MailboxCodec, + _mailbox_wildcard: &ListMailbox, ) -> Result<(Response, flow::Transition)> { Ok((Response::bad("Not implemented")?, flow::Transition::None)) } async fn list( self, - reference: &MailboxCodec, - mailbox_wildcard: &ListMailbox, + _reference: &MailboxCodec, + _mailbox_wildcard: &ListMailbox, ) -> Result<(Response, flow::Transition)> { Ok((Response::bad("Not implemented")?, flow::Transition::None)) } |