Enum cargo::util::config::SslVersionConfig [−][src]
pub enum SslVersionConfig { Single(String), Range(SslVersionConfigRange), }
Expand description
Configuration for ssl-version
in http
section
There are two ways to configure:
[http]
ssl-version = "tlsv1.3"
[http]
ssl-version.min = "tlsv1.2"
ssl-version.max = "tlsv1.3"
Variants
Single(String)
Range(SslVersionConfigRange)
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SslVersionConfig
impl Send for SslVersionConfig
impl Sync for SslVersionConfig
impl Unpin for SslVersionConfig
impl UnwindSafe for SslVersionConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V