pub enum CertifiedKeyLoaderError<R: Error + 'static> {
Read(R),
Key(SignError),
}
Expand description
An error that can occur while loading the data.
Variants§
Trait Implementations§
source§impl<R> Display for CertifiedKeyLoaderError<R>
impl<R> Display for CertifiedKeyLoaderError<R>
source§impl<R: Error + 'static> Error for CertifiedKeyLoaderError<R>
impl<R: Error + 'static> Error for CertifiedKeyLoaderError<R>
1.30.0 · 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()
Auto Trait Implementations§
impl<R> RefUnwindSafe for CertifiedKeyLoaderError<R>where
R: RefUnwindSafe,
impl<R> Send for CertifiedKeyLoaderError<R>where
R: Send,
impl<R> Sync for CertifiedKeyLoaderError<R>where
R: Sync,
impl<R> Unpin for CertifiedKeyLoaderError<R>where
R: Unpin,
impl<R> UnwindSafe for CertifiedKeyLoaderError<R>where
R: 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