pub enum AnalysisErrorCode {
Show 36 variants
InvalidInvocation,
InvalidEvent,
InvalidProfile,
RequestUnreadable,
ConfigurationInvalid,
DuplicateJsonKey,
InvalidUtf8,
InvalidJson,
UnknownSchema,
UnknownField,
NoncanonicalArray,
DigestMismatch,
ControlBindingMismatch,
ExceptionOverlap,
UnsupportedCapability,
GitRepositoryUnavailable,
GitObjectMissing,
GitObjectWrongKind,
GitObjectUnreadable,
GitIndexInvalid,
GitIndexUnmerged,
GitIntentToAdd,
GitSnapshotChanged,
UnrepresentablePath,
DocumentInvalid,
ParserError,
ParserPanic,
InvalidSourceSpan,
ResolutionError,
ResourceLimitExceeded,
OutputLimitExceeded,
TooManyErrors,
ReportConstructionFailed,
SandboxViolation,
TrustedTimeInvalid,
InternalError,
}Expand description
The closed analysis-error codes in schema declaration order.
Variants§
InvalidInvocation
InvalidEvent
InvalidProfile
RequestUnreadable
ConfigurationInvalid
DuplicateJsonKey
InvalidUtf8
InvalidJson
UnknownSchema
UnknownField
NoncanonicalArray
DigestMismatch
ControlBindingMismatch
ExceptionOverlap
UnsupportedCapability
GitObjectMissing
GitObjectWrongKind
GitObjectUnreadable
GitIndexInvalid
GitIndexUnmerged
GitIntentToAdd
GitSnapshotChanged
UnrepresentablePath
DocumentInvalid
ParserError
ParserPanic
InvalidSourceSpan
ResolutionError
ResourceLimitExceeded
OutputLimitExceeded
TooManyErrors
ReportConstructionFailed
SandboxViolation
TrustedTimeInvalid
InternalError
Implementations§
Source§impl AnalysisErrorCode
impl AnalysisErrorCode
Sourcepub fn all() -> impl ExactSizeIterator<Item = Self>
pub fn all() -> impl ExactSizeIterator<Item = Self>
Every analysis-error code in schema declaration order.
Sourcepub const fn meaning(self) -> &'static str
pub const fn meaning(self) -> &'static str
One fixed engine-owned sentence per code: what blocked the run and how
to unblock it. Printed by the human projection as a note line and
rendered into the documentation from this same text.
pub const fn as_str(self) -> &'static str
Sourcepub const fn fixed_phase(self) -> Option<&'static str>
pub const fn fixed_phase(self) -> Option<&'static str>
Fixed phase for non-resource codes; RESOURCE_LIMIT_EXCEEDED takes its
phase from the resource partition and has none here.
Trait Implementations§
Source§impl Clone for AnalysisErrorCode
impl Clone for AnalysisErrorCode
Source§fn clone(&self) -> AnalysisErrorCode
fn clone(&self) -> AnalysisErrorCode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AnalysisErrorCode
Source§impl Debug for AnalysisErrorCode
impl Debug for AnalysisErrorCode
impl Eq for AnalysisErrorCode
Source§impl IntoEnumIterator for AnalysisErrorCode
impl IntoEnumIterator for AnalysisErrorCode
type Iterator = AnalysisErrorCodeIter
fn iter() -> AnalysisErrorCodeIter ⓘ
Source§impl Ord for AnalysisErrorCode
impl Ord for AnalysisErrorCode
Source§fn cmp(&self, other: &AnalysisErrorCode) -> Ordering
fn cmp(&self, other: &AnalysisErrorCode) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AnalysisErrorCode
impl PartialEq for AnalysisErrorCode
Source§impl PartialOrd for AnalysisErrorCode
impl PartialOrd for AnalysisErrorCode
impl StructuralPartialEq for AnalysisErrorCode
Auto Trait Implementations§
impl Freeze for AnalysisErrorCode
impl RefUnwindSafe for AnalysisErrorCode
impl Send for AnalysisErrorCode
impl Sync for AnalysisErrorCode
impl Unpin for AnalysisErrorCode
impl UnsafeUnpin for AnalysisErrorCode
impl UnwindSafe for AnalysisErrorCode
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