use std::str::FromStr; pub enum Response { Capabilities(Vec), Done { tag: RequestId, status: Status, code: Option, information: Option, }, } pub enum Capability { Imap4rev1, Auth(String), Atom(String), } pub struct RequestId(pub String); pub enum Status { Ok, No, } pub enum ResponseCode {}