pub enum CertifiedKeyLoaderError<ReadKey, ReadCerts> {
ReadKey(ReadKey),
ReadCerts(ReadCerts),
LoadKey(Error),
}
Expand description
An error that can occur while loading the data.
Variants§
ReadKey(ReadKey)
Reading the key failed.
ReadCerts(ReadCerts)
Reading the certificate failed.
LoadKey(Error)
Key processing failed.
Trait Implementations§
Source§impl<ReadKey, ReadCerts> Display for CertifiedKeyLoaderError<ReadKey, ReadCerts>
impl<ReadKey, ReadCerts> Display for CertifiedKeyLoaderError<ReadKey, ReadCerts>
Source§impl<ReadKey, ReadCerts> Error for CertifiedKeyLoaderError<ReadKey, ReadCerts>
impl<ReadKey, ReadCerts> Error for CertifiedKeyLoaderError<ReadKey, ReadCerts>
1.30.0 · 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<ReadKey, ReadCerts> Freeze for CertifiedKeyLoaderError<ReadKey, ReadCerts>
impl<ReadKey, ReadCerts> RefUnwindSafe for CertifiedKeyLoaderError<ReadKey, ReadCerts>where
ReadKey: RefUnwindSafe,
ReadCerts: RefUnwindSafe,
impl<ReadKey, ReadCerts> Send for CertifiedKeyLoaderError<ReadKey, ReadCerts>
impl<ReadKey, ReadCerts> Sync for CertifiedKeyLoaderError<ReadKey, ReadCerts>
impl<ReadKey, ReadCerts> Unpin for CertifiedKeyLoaderError<ReadKey, ReadCerts>
impl<ReadKey, ReadCerts> UnwindSafe for CertifiedKeyLoaderError<ReadKey, ReadCerts>where
ReadKey: UnwindSafe,
ReadCerts: UnwindSafe,
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