Enum kube_client::client::RustlsTlsError
source · pub enum RustlsTlsError {
InvalidIdentityPem(Error),
MissingPrivateKey,
MissingCertificate,
InvalidPrivateKey(Error),
UnknownPrivateKeyFormat,
AddRootCertificate(Box<dyn Error + Send + Sync>),
}
Available on crate feature
client
only.Expand description
Errors from Rustls
Variants§
InvalidIdentityPem(Error)
Identity PEM is invalid
MissingPrivateKey
Identity PEM is missing a private key: the key must be PKCS8 or RSA/PKCS1
MissingCertificate
Identity PEM is missing certificate
InvalidPrivateKey(Error)
Invalid private key
UnknownPrivateKeyFormat
Unknown private key format
AddRootCertificate(Box<dyn Error + Send + Sync>)
Failed to add a root certificate
Trait Implementations§
source§impl Error for Error
impl Error for Error
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()