pub enum Command<S> {
Show 13 variants
Data,
Ehlo {
hostname: Hostname<S>,
},
Expn {
name: MaybeUtf8<S>,
},
Helo {
hostname: Hostname<S>,
},
Help {
subject: MaybeUtf8<S>,
},
Lhlo {
hostname: Hostname<S>,
},
Mail {
path: Option<Path<S>>,
email: Option<Email<S>>,
params: Parameters<S>,
},
Noop {
string: MaybeUtf8<S>,
},
Quit,
Rcpt {
path: Option<Path<S>>,
email: Email<S>,
params: Parameters<S>,
},
Rset,
Starttls,
Vrfy {
name: MaybeUtf8<S>,
},
}
Variants§
Data
DATA
Ehlo
EHLO
Expn
EXPN
Helo
HELO
Help
HELP [
Lhlo
LHLO
MAIL FROM:<@ONE,@TWO:JOE@THREE> [SP
Noop
NOOP [
Quit
QUIT
Rcpt
RCPT TO:<@ONE,@TWO:JOE@THREE> [SP <rcpt-parameters]
Rset
RSET
Starttls
STARTTLS
Vrfy
VRFY
Implementations§
Trait Implementations§
impl<S: Eq> Eq for Command<S>
impl<S> StructuralPartialEq for Command<S>
Auto Trait Implementations§
impl<S> Freeze for Command<S>where
S: Freeze,
impl<S> RefUnwindSafe for Command<S>where
S: RefUnwindSafe,
impl<S> Send for Command<S>where
S: Send,
impl<S> Sync for Command<S>where
S: Sync,
impl<S> Unpin for Command<S>where
S: Unpin,
impl<S> UnwindSafe for Command<S>where
S: UnwindSafe,
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