diff options
Diffstat (limited to 'src/imap/flow.rs')
-rw-r--r-- | src/imap/flow.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/imap/flow.rs b/src/imap/flow.rs index 0fe6f92..c9d7e40 100644 --- a/src/imap/flow.rs +++ b/src/imap/flow.rs @@ -1,6 +1,7 @@ use std::error::Error as StdError; use std::fmt; +use crate::imap::mailbox_view::MailboxView; use crate::mail::mailbox::Mailbox; use crate::mail::user::User; @@ -18,14 +19,14 @@ impl StdError for Error {} pub enum State { NotAuthenticated, Authenticated(User), - Selected(User, Mailbox), + Selected(User, MailboxView), Logout, } pub enum Transition { None, Authenticate(User), - Select(Mailbox), + Select(MailboxView), Unselect, Logout, } |