Function imap_codec::parse::command::idle_done[][src]

pub fn idle_done(input: &[u8]) -> IResult<&[u8], ()>
Expand description

This parser must be executed instead of the command parser when the server is in the IDLE state.

idle = “IDLE” CRLF “DONE” ^^^^^^ | applied as separate parser (CRLF is not consumed through the command parser and must be consumed here) TODO: just interpret as command?