panorama/imap/src/command/mod.rs

15 lines
279 B
Rust
Raw Normal View History

2021-02-20 05:03:33 +00:00
use std::fmt;
/// Commands, without the tag part.
pub enum Command {
Capability,
}
impl fmt::Display for Command {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
match self {
Command::Capability => write!(f, "CAPABILITY"),
}
}
}