pub struct SmtpUnknownCommand {
pub verb: String,
pub params: Vec<String>,
}
Fields§
§verb: String
§params: Vec<String>
Implementations§
Trait Implementations§
Source§impl Action<SmtpUnknownCommand> for Esmtp
impl Action<SmtpUnknownCommand> for Esmtp
fn apply<'a, 's, 'f>(
&'a self,
_cmd: SmtpUnknownCommand,
state: &'s mut SmtpContext,
) -> S1Fut<'f, ()>where
'a: 'f,
's: 'f,
Source§impl Clone for SmtpUnknownCommand
impl Clone for SmtpUnknownCommand
Source§fn clone(&self) -> SmtpUnknownCommand
fn clone(&self) -> SmtpUnknownCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SmtpUnknownCommand
impl Debug for SmtpUnknownCommand
Source§impl Default for SmtpUnknownCommand
impl Default for SmtpUnknownCommand
Source§fn default() -> SmtpUnknownCommand
fn default() -> SmtpUnknownCommand
Returns the “default value” for a type. Read more
Source§impl Parser<SmtpUnknownCommand> for Dummy
impl Parser<SmtpUnknownCommand> for Dummy
fn parse( &self, input: &[u8], _state: &SmtpContext, ) -> ParseResult<SmtpUnknownCommand>
Source§impl PartialEq for SmtpUnknownCommand
impl PartialEq for SmtpUnknownCommand
impl Eq for SmtpUnknownCommand
impl StructuralPartialEq for SmtpUnknownCommand
Auto Trait Implementations§
impl Freeze for SmtpUnknownCommand
impl RefUnwindSafe for SmtpUnknownCommand
impl Send for SmtpUnknownCommand
impl Sync for SmtpUnknownCommand
impl Unpin for SmtpUnknownCommand
impl UnwindSafe for SmtpUnknownCommand
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