pub enum HeloVariant {
Ehlo(String),
Helo(String),
}Variants§
Trait Implementations§
source§impl Debug for HeloVariant
impl Debug for HeloVariant
source§impl Display for HeloVariant
impl Display for HeloVariant
source§impl Hash for HeloVariant
impl Hash for HeloVariant
source§impl PartialEq<HeloVariant> for HeloVariant
impl PartialEq<HeloVariant> for HeloVariant
source§fn eq(&self, other: &HeloVariant) -> bool
fn eq(&self, other: &HeloVariant) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<HeloVariant> for HeloVariant
impl PartialOrd<HeloVariant> for HeloVariant
source§fn partial_cmp(&self, other: &HeloVariant) -> Option<Ordering>
fn partial_cmp(&self, other: &HeloVariant) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for HeloVariant
impl StructuralEq for HeloVariant
impl StructuralPartialEq for HeloVariant
Auto Trait Implementations§
impl RefUnwindSafe for HeloVariant
impl Send for HeloVariant
impl Sync for HeloVariant
impl Unpin for HeloVariant
impl UnwindSafe for HeloVariant
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