pub enum KeepsakeResolveError<E> {
Subject(KeepsakeError),
Source(E),
Gatekeep(GatekeepError),
}Expand description
Backend error emitted by crate::KeepsakeResolver.
Variants§
Subject(KeepsakeError)
Gatekeep and keepsake subject validation drifted apart.
Source(E)
The active-relation source failed.
Gatekeep(GatekeepError)
Gatekeep refused a constructed known-fact bundle.
Trait Implementations§
Source§impl<E: Debug> Debug for KeepsakeResolveError<E>
impl<E: Debug> Debug for KeepsakeResolveError<E>
Source§impl<E> Display for KeepsakeResolveError<E>
impl<E> Display for KeepsakeResolveError<E>
Source§impl<E> Error for KeepsakeResolveError<E>
impl<E> Error for KeepsakeResolveError<E>
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()
Source§impl<E> From<GatekeepError> for KeepsakeResolveError<E>
impl<E> From<GatekeepError> for KeepsakeResolveError<E>
Source§fn from(source: GatekeepError) -> Self
fn from(source: GatekeepError) -> Self
Converts to this type from the input type.
Source§impl<E> From<KeepsakeError> for KeepsakeResolveError<E>
impl<E> From<KeepsakeError> for KeepsakeResolveError<E>
Source§fn from(source: KeepsakeError) -> Self
fn from(source: KeepsakeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<E> Freeze for KeepsakeResolveError<E>where
E: Freeze,
impl<E> RefUnwindSafe for KeepsakeResolveError<E>where
E: RefUnwindSafe,
impl<E> Send for KeepsakeResolveError<E>where
E: Send,
impl<E> Sync for KeepsakeResolveError<E>where
E: Sync,
impl<E> Unpin for KeepsakeResolveError<E>where
E: Unpin,
impl<E> UnsafeUnpin for KeepsakeResolveError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for KeepsakeResolveError<E>where
E: 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