Struct new_tokio_smtp::Capability [−][src]
pub struct Capability(_);
represents a smtp extension/capability indicated through ehlo
Methods from Deref<Target = EsmtpKeyword>
Trait Implementations
impl Debug for Capability
[src]
impl Debug for Capability
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 Capability
[src]
impl Clone for Capability
fn clone(&self) -> Capability
[src]
fn clone(&self) -> Capability
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)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Eq for Capability
[src]
impl Eq for Capability
impl PartialEq for Capability
[src]
impl PartialEq for Capability
fn eq(&self, other: &Capability) -> bool
[src]
fn eq(&self, other: &Capability) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Capability) -> bool
[src]
fn ne(&self, other: &Capability) -> bool
This method tests for !=
.
impl Hash for Capability
[src]
impl Hash for Capability
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,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Deref for Capability
[src]
impl Deref for Capability
type Target = EsmtpKeyword
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
fn deref(&self) -> &Self::Target
Dereferences the value.
impl From<EsmtpKeyword> for Capability
[src]
impl From<EsmtpKeyword> for Capability
fn from(keyword: EsmtpKeyword) -> Self
[src]
fn from(keyword: EsmtpKeyword) -> Self
Performs the conversion.
impl Into<EsmtpKeyword> for Capability
[src]
impl Into<EsmtpKeyword> for Capability
fn into(self) -> EsmtpKeyword
[src]
fn into(self) -> EsmtpKeyword
Performs the conversion.
impl FromStr for Capability
[src]
impl FromStr for Capability
Auto Trait Implementations
impl Send for Capability
impl Send for Capability
impl Sync for Capability
impl Sync for Capability