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
sourceimpl Error for Error
impl Error for Error
sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more