pub enum DigestError<E> {
Processing(Error),
Callback(E),
OutputWidth {
expected: usize,
actual: usize,
},
Unstreamable,
}Expand description
Failure of common digest processing or the selected provider.
Variants§
Processing(Error)
Common storage, dispatch, sorting or lookup refusal before work.
Callback(E)
Original callback error, including any opaque backend resource refusal.
OutputWidth
A callback returned a width inconsistent with its resolved identity. This is a provider contract failure, not malformed document data.
Fields
Unstreamable
The provider resolved this identity but cannot stream it, which CMS content and attribute digests require. A capability answer of the provider, not a document fault.
Trait Implementations§
Auto Trait Implementations§
impl<E> !Freeze for DigestError<E>
impl<E> RefUnwindSafe for DigestError<E>where
E: RefUnwindSafe,
impl<E> Send for DigestError<E>where
E: Send,
impl<E> Sync for DigestError<E>where
E: Sync,
impl<E> Unpin for DigestError<E>where
E: Unpin,
impl<E> UnsafeUnpin for DigestError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for DigestError<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