Enum csaf_walker::source::KeySourceError
source · pub enum KeySourceError<SE: Display + Debug> {
Source(SE),
OpenPgp(Error),
}Variants§
Implementations§
source§impl<SE: Display + Debug> KeySourceError<SE>
impl<SE: Display + Debug> KeySourceError<SE>
pub fn map_source<F, E>(self, f: F) -> KeySourceError<E>where F: FnOnce(SE) -> E, E: Display + Debug,
Trait Implementations§
source§impl<SE: Display + Debug> Error for KeySourceError<SE>where
Self: Debug + Display,
impl<SE: Display + Debug> Error for KeySourceError<SE>where Self: Debug + Display,
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<SE> !RefUnwindSafe for KeySourceError<SE>
impl<SE> Send for KeySourceError<SE>where SE: Send,
impl<SE> Sync for KeySourceError<SE>where SE: Sync,
impl<SE> Unpin for KeySourceError<SE>where SE: Unpin,
impl<SE> !UnwindSafe for KeySourceError<SE>
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