Enum pop3_codec::types::Command
source · [−]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
Fields
msg: u32
LIST msg
Retr
Fields
msg: u32
RETR msg
Dele
Fields
msg: u32
DELE msg
Noop
NOOP
Rset
RSET
Quit
QUIT
Apop
APOP name digest
Top
TOP msg n
UidlAll
UIDL
Uidl
Fields
msg: u32
UIDL msg
Capa
CAPA
Stls
STLS
AuthAll
Auth
Utf8
LangAll
Lang
Fields
lang_or_wild: Language
Implementations
Trait Implementations
impl Eq for Command
impl StructuralEq for Command
impl StructuralPartialEq for Command
Auto Trait Implementations
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more