pub enum OnceError<E> {
Provider(E),
OutputWidth {
expected: usize,
actual: usize,
},
}Expand description
Failure of a one-shot check, apart from every completed comparison.
Variants§
Provider(E)
Original provider failure, including its resource refusal.
OutputWidth
The provider’s output contradicts the fixed width of its own identity. This is a provider contract failure, not malformed document data.
Trait Implementations§
impl<E: Copy> Copy for OnceError<E>
impl<E: Eq> Eq for OnceError<E>
impl<E: PartialEq> StructuralPartialEq for OnceError<E>
Auto Trait Implementations§
impl<E> Freeze for OnceError<E>where
E: Freeze,
impl<E> RefUnwindSafe for OnceError<E>where
E: RefUnwindSafe,
impl<E> Send for OnceError<E>where
E: Send,
impl<E> Sync for OnceError<E>where
E: Sync,
impl<E> Unpin for OnceError<E>where
E: Unpin,
impl<E> UnsafeUnpin for OnceError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for OnceError<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