Struct new_tokio_smtp::EhloParam [−][src]
pub struct EhloParam(_);
represents an EsmtpParam (syntax construct in ehlo response)
Methods
impl EhloParam
[src]
impl EhloParam
pub fn as_str(&self) -> &str
[src]
pub fn as_str(&self) -> &str
return the inner representation as &str
pub fn from_unchecked<I>(data: I) -> Self where
I: Into<String>,
[src]
pub fn from_unchecked<I>(data: I) -> Self where
I: Into<String>,
create a new instance from a string without validating the input
Trait Implementations
impl Debug for EhloParam
[src]
impl Debug for EhloParam
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for EhloParam
[src]
impl Clone for EhloParam
fn clone(&self) -> EhloParam
[src]
fn clone(&self) -> EhloParam
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Eq for EhloParam
[src]
impl Eq for EhloParam
impl PartialEq for EhloParam
[src]
impl PartialEq for EhloParam
fn eq(&self, other: &EhloParam) -> bool
[src]
fn eq(&self, other: &EhloParam) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &EhloParam) -> bool
[src]
fn ne(&self, other: &EhloParam) -> bool
This method tests for !=
.
impl Hash for EhloParam
[src]
impl Hash for EhloParam
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl AsRef<str> for EhloParam
[src]
impl AsRef<str> for EhloParam
impl Into<String> for EhloParam
[src]
impl Into<String> for EhloParam
impl PartialEq<str> for EhloParam
[src]
impl PartialEq<str> for EhloParam
fn eq(&self, other: &str) -> bool
[src]
fn eq(&self, other: &str) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl<'a> PartialEq<&'a str> for EhloParam
[src]
impl<'a> PartialEq<&'a str> for EhloParam
fn eq(&self, other: &&'a str) -> bool
[src]
fn eq(&self, other: &&'a str) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl PartialEq<String> for EhloParam
[src]
impl PartialEq<String> for EhloParam
fn eq(&self, other: &String) -> bool
[src]
fn eq(&self, other: &String) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl FromStr for EhloParam
[src]
impl FromStr for EhloParam