pub enum IssueType {
Show 31 variants
Invalid,
Structure,
Required,
Value,
Invariant,
Security,
Login,
Unknown,
Expired,
Forbidden,
Suppressed,
Processing,
NotSupported,
Duplicate,
MultipleMatches,
NotFound,
Deleted,
TooLong,
CodeInvalid,
Extension,
TooCostly,
BusinessRule,
Conflict,
Transient,
LockError,
NoStore,
Exception,
Timeout,
Incomplete,
Throttled,
Informational,
}Expand description
The kind of an issue: the R4 issue-type code system, every code of it.
Variants§
Invalid
invalid: content invalid against the specification or a profile.
Structure
structure: a structural issue in the content.
Required
required: a required element is missing.
Value
value: an element or header value is invalid.
Invariant
invariant: a content validation rule failed.
Security
security: an authentication or authorization problem.
Login
login: the client needs to log in.
Unknown
unknown: the user or system was not able to be authenticated.
Expired
expired: the user session expired.
Forbidden
forbidden: the user does not have the rights.
Suppressed
suppressed: some information was not or might not be returned.
Processing
processing: processing issues.
NotSupported
not-supported: the content or operation is not supported.
Duplicate
duplicate: an attempt was made to create a duplicate record.
MultipleMatches
multiple-matches: multiple matching records were found.
NotFound
not-found: the reference provided was not found.
Deleted
deleted: the reference pointed at deleted content.
TooLong
too-long: provided content is too long.
CodeInvalid
code-invalid: the code or system could not be understood.
Extension
extension: an extension was not acceptable or not recognized.
TooCostly
too-costly: the operation was stopped to protect server resources.
BusinessRule
business-rule: a business rule was violated.
Conflict
conflict: a content or version conflict.
Transient
transient: a transient processing issue.
LockError
lock-error: a resource or record lock failed.
NoStore
no-store: the persistent store is unavailable.
Exception
exception: an unexpected internal error.
Timeout
timeout: an internal timeout occurred.
Incomplete
incomplete: not all data sources returned results.
Throttled
throttled: the system is not prepared to handle this request.
Informational
informational: a message unrelated to the processing success.
Implementations§
Trait Implementations§
impl Copy for IssueType
impl Eq for IssueType
Source§impl Ord for IssueType
impl Ord for IssueType
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialOrd for IssueType
impl PartialOrd for IssueType
impl StructuralPartialEq for IssueType
Auto Trait Implementations§
impl Freeze for IssueType
impl RefUnwindSafe for IssueType
impl Send for IssueType
impl Sync for IssueType
impl Unpin for IssueType
impl UnsafeUnpin for IssueType
impl UnwindSafe for IssueType
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> Comparable<K> for Q
impl<Q, K> Comparable<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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
impl<T> OrderedSeq<'_, T> for Twhere
T: Clone,
Source§impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
Source§impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
Source§fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
WrappingSpan::make_wrapped to wrap an AST node in a span.