Enum kube_client::client::RustlsTlsError [−][src]
pub enum RustlsTlsError {
InvalidIdentityPem(Error),
MissingPrivateKey,
MissingCertificate,
InvalidPrivateKey(Error),
AddRootCertificate(Box<dyn Error + Send + Sync>),
}This is supported on crate feature
client only.Expand description
Errors from Rustls
Variants
InvalidIdentityPem(Error)
Tuple Fields
0: ErrorIdentity 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)
Tuple Fields
0: ErrorInvalid private key
AddRootCertificate(Box<dyn Error + Send + Sync>)
Failed to add a root certificate
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
