imap-codec icon indicating copy to clipboard operation
imap-codec copied to clipboard

refactor: Avoid struct-like enum variants?

Open duesee opened this issue 2 years ago • 1 comments

This would give us the flexibility to re-group variants, e.g., enum CommandAny, by sacrifycing only a little of readability.

duesee avatar Oct 11 '23 21:10 duesee

I... 'm not too keen to do this right now. It adds quite a bit of boilerplate for theoretical usage. In fact, it's only really useful for Authenticate (due to our experience in imap-next.)

Maybe we should refactor CommandBody::Authenticate only for now?

duesee avatar Jun 29 '24 13:06 duesee