Trait samotop::smtp::SmtpSessionCommand [−][src]
Required methods
pub fn verb(&self) -> &str
[src]
#[must_use = "apply must be awaited"]pub fn apply(
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
[src]
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
Implementations on Foreign Types
impl<T, E> SmtpSessionCommand for Result<T, E> where
T: SmtpSessionCommand,
E: Debug + Sync + Send,
[src]
T: SmtpSessionCommand,
E: Debug + Sync + Send,
pub fn verb(&self) -> &str
[src]
pub fn apply(
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
[src]
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
Implementors
impl SmtpSessionCommand for ESMTPCommand<SmtpCommand>
[src]
pub fn verb(&self) -> &str
[src]
pub fn apply(
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
[src]
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
impl SmtpSessionCommand for ESMTPCommand<SmtpMail>
[src]
pub fn verb(&self) -> &str
[src]
pub fn apply(
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
[src]
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
impl SmtpSessionCommand for ESMTPCommand<MailBodyEnd>
[src]
pub fn verb(&self) -> &str
[src]
pub fn apply(
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
[src]
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
impl SmtpSessionCommand for ESMTPCommand<SmtpData>
[src]
pub fn verb(&self) -> &str
[src]
pub fn apply(
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
[src]
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
impl SmtpSessionCommand for ESMTPCommand<SmtpHelo>
[src]
pub fn verb(&self) -> &str
[src]
pub fn apply(
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
[src]
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
impl SmtpSessionCommand for ESMTPCommand<SmtpInvalidCommand>
[src]
pub fn verb(&self) -> &str
[src]
pub fn apply(
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
[src]
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
impl SmtpSessionCommand for ESMTPCommand<SmtpNoop>
[src]
pub fn verb(&self) -> &str
[src]
pub fn apply(
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
[src]
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
impl SmtpSessionCommand for ESMTPCommand<SmtpQuit>
[src]
pub fn verb(&self) -> &str
[src]
pub fn apply(
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
[src]
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
impl SmtpSessionCommand for ESMTPCommand<SmtpRcpt>
[src]
pub fn verb(&self) -> &str
[src]
pub fn apply(
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
[src]
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
impl SmtpSessionCommand for ESMTPCommand<SmtpRset>
[src]
pub fn verb(&self) -> &str
[src]
pub fn apply(
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
[src]
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
impl SmtpSessionCommand for ESMTPCommand<SmtpUnknownCommand>
[src]
pub fn verb(&self) -> &str
[src]
pub fn apply(
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
[src]
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
impl SmtpSessionCommand for ESMTPStartTls
[src]
pub fn verb(&self) -> &str
[src]
pub fn apply(
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
[src]
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
impl SmtpSessionCommand for LMTPCommand<SmtpCommand>
[src]
pub fn verb(&self) -> &str
[src]
pub fn apply(
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
[src]
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
impl SmtpSessionCommand for LMTPCommand<MailBodyEnd>
[src]
pub fn verb(&self) -> &str
[src]
pub fn apply(
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
[src]
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
impl SmtpSessionCommand for LMTPCommand<SmtpHelo>
[src]
pub fn verb(&self) -> &str
[src]
pub fn apply(
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
[src]
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
impl SmtpSessionCommand for SessionInfo
[src]
pub fn verb(&self) -> &str
[src]
pub fn apply(
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
[src]
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
impl SmtpSessionCommand for ProcessingError
[src]
pub fn verb(&self) -> &str
[src]
pub fn apply(
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
[src]
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
impl SmtpSessionCommand for SessionShutdown
[src]
pub fn verb(&self) -> &str
[src]
pub fn apply(
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
[src]
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
impl SmtpSessionCommand for Timeout
[src]
pub fn verb(&self) -> &str
[src]
pub fn apply(
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
[src]
&self,
state: SmtpState
) -> Pin<Box<dyn Future<Output = SmtpState> + Send + Sync, Global>>ⓘ
impl<B> SmtpSessionCommand for ESMTPCommand<MailBodyChunk<B>> where
B: AsRef<[u8]> + Send + Sync + Debug,
[src]
B: AsRef<[u8]> + Send + Sync + Debug,