Struct new_tokio_smtp::EhloParam[][src]

pub struct EhloParam(_);

represents an EsmtpParam (syntax construct in ehlo response)

Methods

impl EhloParam
[src]

return the inner representation as &str

create a new instance from a string without validating the input

Trait Implementations

impl Debug for EhloParam
[src]

Formats the value using the given formatter. Read more

impl Clone for EhloParam
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for EhloParam
[src]

impl PartialEq for EhloParam
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for EhloParam
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl AsRef<str> for EhloParam
[src]

Performs the conversion.

impl Into<String> for EhloParam
[src]

Performs the conversion.

impl PartialEq<str> for EhloParam
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a> PartialEq<&'a str> for EhloParam
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl PartialEq<String> for EhloParam
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl FromStr for EhloParam
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

Auto Trait Implementations

impl Send for EhloParam

impl Sync for EhloParam