pub enum Command {
Show 21 variants
User(String),
Pass(String),
Stat,
ListAll,
List {
msg: u32,
},
Retr {
msg: u32,
},
Dele {
msg: u32,
},
Noop,
Rset,
Quit,
Apop {
name: String,
digest: String,
},
Top {
msg: u32,
n: u32,
},
UidlAll,
Uidl {
msg: u32,
},
Capa,
Stls,
AuthAll,
Auth {
mechanism: String,
initial_response: Option<String>,
},
Utf8,
LangAll,
Lang {
lang_or_wild: Language,
},
}
Variants§
User(String)
USER name
Pass(String)
PASS string
Stat
STAT
ListAll
LIST
List
LIST msg
Retr
RETR msg
Dele
DELE msg
Noop
NOOP
Rset
RSET
Quit
QUIT
Apop
APOP name digest
Top
TOP msg n
UidlAll
UIDL
Uidl
UIDL msg
Capa
CAPA
Stls
STLS
AuthAll
Auth
Utf8
LangAll
Lang
Implementations§
Trait Implementations§
impl Eq for Command
impl StructuralPartialEq for Command
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more