Enum miltr_common::commands::Command
source · pub enum Command {
Connect(Connect),
Helo(Helo),
Mail(Mail),
Recipient(Recipient),
Header(Header),
EndOfHeader(EndOfHeader),
Data(Data),
Body(Body),
EndOfBody(EndOfBody),
Unknown(Unknown),
}Expand description
See the respective contents about documentation
Variants§
Connect(Connect)
Helo(Helo)
Mail(Mail)
Recipient(Recipient)
Header(Header)
EndOfHeader(EndOfHeader)
Data(Data)
Body(Body)
EndOfBody(EndOfBody)
Unknown(Unknown)
Trait Implementations§
source§impl From<Command> for ClientMessage
impl From<Command> for ClientMessage
source§fn from(v: Command) -> ClientMessage
fn from(v: Command) -> ClientMessage
Converts to this type from the input type.
source§impl From<EndOfHeader> for Command
impl From<EndOfHeader> for Command
source§fn from(v: EndOfHeader) -> Command
fn from(v: EndOfHeader) -> Command
Converts to this type from the input type.
source§impl TryInto<Command> for ClientMessage
impl TryInto<Command> for ClientMessage
source§impl TryInto<EndOfHeader> for Command
impl TryInto<EndOfHeader> 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§
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