Enum static_web_server::tls::TlsConfigError
source · pub enum TlsConfigError {
Io(Error),
CertParseError,
Pkcs8ParseError,
RsaParseError,
EmptyKey,
InvalidKey(TlsError),
}Expand description
Represents errors that can occur building the TlsConfig
Variants§
Io(Error)
Error type for I/O operations
CertParseError
An Error parsing the Certificate
Pkcs8ParseError
An Error parsing a Pkcs8 key
RsaParseError
An Error parsing a Rsa key
EmptyKey
An error from an empty key
InvalidKey(TlsError)
An error from an invalid key
Trait Implementations§
source§impl Debug for TlsConfigError
impl Debug for TlsConfigError
source§impl Display for TlsConfigError
impl Display for TlsConfigError
source§impl Error for TlsConfigError
impl Error for TlsConfigError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()