Struct new_tokio_smtp::Capability[][src]

pub struct Capability(_);

represents a smtp extension/capability indicated through ehlo

Methods from Deref<Target = EsmtpKeyword>

return the inner representation as &str

Trait Implementations

impl Debug for Capability
[src]

Formats the value using the given formatter. Read more

impl Clone for Capability
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Capability
[src]

impl PartialEq for Capability
[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 Capability
[src]

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

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

impl Deref for Capability
[src]

The resulting type after dereferencing.

Dereferences the value.

impl From<EsmtpKeyword> for Capability
[src]

Performs the conversion.

impl Into<EsmtpKeyword> for Capability
[src]

Performs the conversion.

impl FromStr for Capability
[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 Capability

impl Sync for Capability