Struct vsmtp_common::CipherSuite
pub struct CipherSuite(pub CipherSuite);
Expand description
Wrapper around rustls::CipherSuite
to implement serde::Deserialize
and serde::Serialize
Tuple Fields§
§0: CipherSuite
Trait Implementations§
§impl Clone for CipherSuite
impl Clone for CipherSuite
§fn clone(&self) -> CipherSuite
fn clone(&self) -> CipherSuite
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for CipherSuite
impl Debug for CipherSuite
§impl<'de> Deserialize<'de> for CipherSuitewhere
Self: FromStr,
<Self as FromStr>::Err: Display,
impl<'de> Deserialize<'de> for CipherSuitewhere Self: FromStr, <Self as FromStr>::Err: Display,
§fn deserialize<__D>(deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Display for CipherSuite
impl Display for CipherSuite
§impl FromStr for CipherSuite
impl FromStr for CipherSuite
§impl PartialEq<CipherSuite> for CipherSuite
impl PartialEq<CipherSuite> for CipherSuite
§fn eq(&self, other: &CipherSuite) -> bool
fn eq(&self, other: &CipherSuite) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.