pub enum BuildError<V, R> {
Processing(Error),
Verification(V),
Recognition(R),
}Expand description
A path operation that could not finish, preserving the originating cause.
A callback may report policy, provider or resource failures in its own error
type. These are distinct from a completed signature check answering No or
Unsupported, or a recognizer answering false. This wrapper allocates no
storage; owned data inside a callback error remains the callback’s accounting
responsibility.
Variants§
Processing(Error)
Shared processing failed, including a located resource refusal.
Verification(V)
The injected signature verifier failed to execute its check.
Recognition(R)
The injected extension recognizer failed to execute its query.
Trait Implementations§
Source§impl<V, R> From<CallbackError<R>> for BuildError<V, R>
impl<V, R> From<CallbackError<R>> for BuildError<V, R>
Source§fn from(error: CallbackError<R>) -> Self
fn from(error: CallbackError<R>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<V, R> Freeze for BuildError<V, R>
impl<V, R> RefUnwindSafe for BuildError<V, R>where
V: RefUnwindSafe,
R: RefUnwindSafe,
impl<V, R> Send for BuildError<V, R>
impl<V, R> Sync for BuildError<V, R>
impl<V, R> Unpin for BuildError<V, R>
impl<V, R> UnsafeUnpin for BuildError<V, R>where
V: UnsafeUnpin,
R: UnsafeUnpin,
impl<V, R> UnwindSafe for BuildError<V, R>where
V: UnwindSafe,
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