panorama/imap/src/command/mod.rs

16 lines
303 B
Rust
Raw Normal View History

2021-02-20 05:03:33 +00:00
use std::fmt;
/// Commands, without the tag part.
2021-02-20 07:30:58 +00:00
#[derive(Clone, Debug)]
2021-02-20 05:03:33 +00:00
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"),
}
}
}