pub enum PyTlsConfigError {
CertParse(Error),
KeyParse(Error),
EmptyKey,
Pkcs8Parse(Error),
RsaParse(Error),
RustTlsError(Error),
}
Expand description
Possible TLS configuration errors.
Variants§
Trait Implementations§
source§impl Debug for PyTlsConfigError
impl Debug for PyTlsConfigError
source§impl Display for PyTlsConfigError
impl Display for PyTlsConfigError
source§impl Error for PyTlsConfigError
impl Error for PyTlsConfigError
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()
source§impl From<Error> for PyTlsConfigError
impl From<Error> for PyTlsConfigError
source§fn from(source: RustTlsError) -> Self
fn from(source: RustTlsError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PyTlsConfigError
impl !RefUnwindSafe for PyTlsConfigError
impl Send for PyTlsConfigError
impl Sync for PyTlsConfigError
impl Unpin for PyTlsConfigError
impl !UnwindSafe for PyTlsConfigError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.