pub enum Category {
Show 28 variants
Parse = 1,
UnknownOperator = 2,
KindMismatch = 3,
Cycle = 4,
NoCapableBackend = 5,
UncalibratedThreshold = 6,
Budget = 7,
UnhandledUnresolved = 8,
InvalidFallback = 9,
CalibrationBinding = 10,
InvalidDefinition = 11,
InvalidExecution = 12,
GradeRequirement = 13,
UncorroboratedHint = 14,
SourceBinding = 15,
UncoveredProvenance = 16,
CallerCannotAct = 17,
InvalidScreening = 18,
UnscreenedText = 19,
InvalidAcquisition = 20,
SourceMapping = 21,
InvalidGeneration = 22,
Template = 23,
ModelOutputFlow = 24,
InvalidExtraction = 25,
InvalidAcceptance = 26,
UnacceptedModelValue = 27,
ExactOrderSource = 28,
}Expand description
Refusal categories (spec 002, 3.9.5).
Variants§
Parse = 1
UnknownOperator = 2
KindMismatch = 3
Cycle = 4
NoCapableBackend = 5
UncalibratedThreshold = 6
Budget = 7
UnhandledUnresolved = 8
InvalidFallback = 9
CalibrationBinding = 10
InvalidDefinition = 11
InvalidExecution = 12
An execution policy that is not valid (spec 003, 3.2.3).
GradeRequirement = 13
A requirement or hard gate reads a value whose static ceiling is below the required grade (spec 032, 3.9.3; phase e2).
UncorroboratedHint = 14
A requirement or hard gate reads a hint no corroboration raises
(spec 032, 3.9.3; phase e2).
SourceBinding = 15
A graded input’s sources do not bind (spec 032, 3.3.4; phase c).
UncoveredProvenance = 16
A check leaves an accepted class of its subject without a branch or default (spec 033, 3.2.3; phase h2).
CallerCannotAct = 17
A declaration would address the caller where the caller cannot act (spec 033, 3.8.2; phases b and h2).
InvalidScreening = 18
Invalid screening declaration (spec 035, 3.5.3).
UnscreenedText = 19
A model projection carries uncovered untrusted text (spec 035, 3.5.5).
InvalidAcquisition = 20
SourceMapping = 21
InvalidGeneration = 22
Template = 23
ModelOutputFlow = 24
InvalidExtraction = 25
InvalidAcceptance = 26
UnacceptedModelValue = 27
ExactOrderSource = 28
Trait Implementations§
impl Copy for Category
impl Eq for Category
Source§impl Ord for Category
impl Ord for Category
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Category
impl PartialOrd for Category
impl StructuralPartialEq for Category
Auto Trait Implementations§
impl Freeze for Category
impl RefUnwindSafe for Category
impl Send for Category
impl Sync for Category
impl Unpin for Category
impl UnsafeUnpin for Category
impl UnwindSafe for Category
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