qsdgy

Results 5 issues of qsdgy

Try to turn tag assertion to an error check #230 Also straight forward fix #229 --- This change is [](https://reviewable.io/reviews/jonhoo/rust-imap/231)

imap::client::Connection.tag has been [increased ](https://github.com/jonhoo/rust-imap/blob/db2911746358741a74f9dda8b2eecbf480506224/src/client.rs#L1469)no matter whether writing command to socket is okay. ```rust fn run_command(&mut self, untagged_command: &str) -> Result { let command = self.create_command(untagged_command); self.write_line(command.into_bytes().as_slice()) } ``` ```rust...

There's a lot of pain in dealing with panic from lib, especially working with background services. At least I'd like to remove panics came across with tag asserts (#229 #211)....

I'm trying to perform an [IMAP4 ID extension](https://datatracker.ietf.org/doc/html/rfc2971) command manually. command and response sequence would be like this: ``` C: a2 ID NIL S: * ID ("name" "Coremail Imap" "vendor"...

[IMAP4 ID extension](https://datatracker.ietf.org/doc/html/rfc2971) example from [here](https://datatracker.ietf.org/doc/html/rfc2971#section-3.2) ```rust use imap_proto::Response; fn main() { // https://datatracker.ietf.org/doc/html/rfc2971#section-3.2 let line = r#"* ID ("name" "Cyrus" "version" "1.5" "os" "sunos" "os-version" "5.5" "support-url" "mailto:[email protected]")\r\n"#; match...