pub enum DigTlsError {
Ca(String),
CertGen(String),
Parse(String),
RustlsConfig(String),
Io(Error),
}Expand description
Errors from building, loading, or verifying DIG peer mTLS material.
Variants§
Ca(String)
The embedded or supplied CA PEM could not be parsed.
CertGen(String)
Building or signing a per-peer node certificate failed.
Parse(String)
A stored certificate or key PEM could not be parsed back.
RustlsConfig(String)
A rustls configuration could not be assembled from the material.
Io(Error)
Reading or writing persisted certificate material failed.
Trait Implementations§
Source§impl Debug for DigTlsError
impl Debug for DigTlsError
Source§impl Display for DigTlsError
impl Display for DigTlsError
Source§impl Error for DigTlsError
impl Error for DigTlsError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Auto Trait Implementations§
impl !RefUnwindSafe for DigTlsError
impl !UnwindSafe for DigTlsError
impl Freeze for DigTlsError
impl Send for DigTlsError
impl Sync for DigTlsError
impl Unpin for DigTlsError
impl UnsafeUnpin for DigTlsError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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