pub enum InternalOp {
Show 14 variants
JsonSerialize,
JsonPrettyPrint,
StdoutWrite,
EmbeddedSchemaInvalid,
UrlBuild,
SemaphoreClosed,
WorkerJoin,
WorkerPanic,
ClockBeforeEpoch,
CacheKeyMalformed,
AssocPathTooShort,
AssocParentOwnsNoPage,
AllowedOriginUnparseable,
SyntheticParseFailure,
}Expand description
An internal invariant or infrastructure failure, for crate::error::ErrorDetail::Internal.
These are bugs or host problems, never user input. They are still localized: the operator reading stderr deserves their own language even when the cause on the source chain is upstream English.
Variants§
JsonSerialize
Serializing a value to JSON.
JsonPrettyPrint
Pretty-printing JSON.
StdoutWrite
Writing to stdout.
EmbeddedSchemaInvalid
An embedded schema document is not valid JSON.
UrlBuild
A built URL was rejected by the parser.
SemaphoreClosed
The concurrency semaphore was closed.
WorkerJoin
A CPU worker task failed to join.
WorkerPanic
A CPU worker panicked mid-parse.
ClockBeforeEpoch
The system clock is before the UNIX epoch.
CacheKeyMalformed
A cache key did not satisfy its own format invariant.
AssocPathTooShort
An associated-item path reached the builder with too few segments.
AssocParentOwnsNoPage
A probe table named a member kind as a parent page host.
AllowedOriginUnparseable
An already-validated origin failed to re-parse.
SyntheticParseFailure
Injected failure used by tests to exercise the CPU-bound error path.
Trait Implementations§
Source§impl Clone for InternalOp
impl Clone for InternalOp
impl Copy for InternalOp
Source§impl Debug for InternalOp
impl Debug for InternalOp
impl Eq for InternalOp
Source§impl PartialEq for InternalOp
impl PartialEq for InternalOp
impl StructuralPartialEq for InternalOp
Auto Trait Implementations§
impl Freeze for InternalOp
impl RefUnwindSafe for InternalOp
impl Send for InternalOp
impl Sync for InternalOp
impl Unpin for InternalOp
impl UnsafeUnpin for InternalOp
impl UnwindSafe for InternalOp
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.