pub enum ClientCommand {
}
Expand description
See the contained variants for more.
Variants§
Abort(Abort)
OptNeg(OptNeg)
Quit(Quit)
QuitNc(QuitNc)
Macro(Macro)
Unknown(Unknown)
Connect(Connect)
Helo(Helo)
Mail(Mail)
Recipient(Recipient)
Header(Header)
EndOfHeader(EndOfHeader)
Data(Data)
Body(Body)
EndOfBody(EndOfBody)
Implementations§
Source§impl ClientCommand
impl ClientCommand
Trait Implementations§
Source§impl Clone for ClientCommand
impl Clone for ClientCommand
Source§fn clone(&self) -> ClientCommand
fn clone(&self) -> ClientCommand
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 ClientCommand
impl Debug for ClientCommand
Source§impl From<Abort> for ClientCommand
impl From<Abort> for ClientCommand
Source§impl From<Body> for ClientCommand
impl From<Body> for ClientCommand
Source§impl From<Connect> for ClientCommand
impl From<Connect> for ClientCommand
Source§impl From<Data> for ClientCommand
impl From<Data> for ClientCommand
Source§impl From<EndOfBody> for ClientCommand
impl From<EndOfBody> for ClientCommand
Source§impl From<EndOfHeader> for ClientCommand
impl From<EndOfHeader> for ClientCommand
Source§fn from(value: EndOfHeader) -> Self
fn from(value: EndOfHeader) -> Self
Converts to this type from the input type.
Source§impl From<Header> for ClientCommand
impl From<Header> for ClientCommand
Source§impl From<Helo> for ClientCommand
impl From<Helo> for ClientCommand
Source§impl From<Macro> for ClientCommand
impl From<Macro> for ClientCommand
Source§impl From<Mail> for ClientCommand
impl From<Mail> for ClientCommand
Source§impl From<OptNeg> for ClientCommand
impl From<OptNeg> for ClientCommand
Source§impl From<Quit> for ClientCommand
impl From<Quit> for ClientCommand
Source§impl From<QuitNc> for ClientCommand
impl From<QuitNc> for ClientCommand
Source§impl From<Recipient> for ClientCommand
impl From<Recipient> for ClientCommand
Auto Trait Implementations§
impl Freeze for ClientCommand
impl RefUnwindSafe for ClientCommand
impl Send for ClientCommand
impl Sync for ClientCommand
impl Unpin for ClientCommand
impl UnwindSafe for ClientCommand
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more