Skip to main content

RuleId

Enum RuleId 

Source
#[non_exhaustive]
#[repr(u32)]
pub enum RuleId {
Show 60 variants ComposeModelInvalid = 1_000_001, ComposeProfileRequired = 1_000_002, ComposeProfileMismatch = 1_000_003, ComposeIntentUnsupported = 1_000_004, ComposeValueInvalid = 1_000_005, ComposeTargetInvalid = 1_000_006, ComposeOutputUnsupported = 1_000_007, ComposeGenerationFailed = 1_000_008, ComposeCompatibilityConstraint = 1_000_009, ComposeUnsetVariable = 1_000_101, ComposeRequiredVariable = 1_000_102, ComposeInterpolationInvalid = 1_000_103, ComposeInterpolationNestingLimit = 1_000_104, ComposeUnresolvedVariable = 1_000_105, ComposeNativeError = 1_000_197, ComposeNativeWarning = 1_000_198, ComposeNativeNote = 1_000_199, OrchestrationFailed = 3_001_000, InputReadFailed = 3_001_001, ComposeProjectRootInvalid = 3_001_002, PodmanTargetSelectionInvalid = 3_001_003, InterpolationInputInvalid = 3_001_004, ComposeLoadFailed = 3_001_005, ConversionFailed = 3_001_006, QuadletParseFailed = 3_001_007, OutputDirectoryNotEmpty = 3_002_001, OutputPathInvalid = 3_002_002, OutputWriteFailed = 3_002_003, ReportWriteFailed = 3_003_001, SupportBundleWriteFailed = 3_003_002, PodmanSourceInvalid = 4_000_001, PodmanInputUnmodelled = 4_000_002, PodmanPromotionRequired = 4_000_003, PodmanIdentityConflict = 4_000_004, PodmanSecretGrantIncomplete = 4_000_005, PodmanTargetInvalid = 4_000_006, PodmanOutputUnsupported = 4_000_007, PodmanPlanningFailed = 4_000_008, QuadletTargetInvalid = 5_000_001, QuadletOpenEndedTarget = 5_000_002, QuadletOutputUnsupported = 5_000_003, QuadletValueInvalid = 5_000_004, QuadletGenerationFailed = 5_000_005, QuadletCapabilityUnavailable = 5_000_006, QuadletGroupingApproximation = 5_000_007, QuadletDependencyUnsupported = 5_000_008, QuadletRestartApproximation = 5_000_009, QuadletEnvironmentFileApproximation = 5_000_010, QuadletGroupingInvalid = 5_000_011, QuadletDependencyInvalid = 5_000_012, QuadletCapabilityDeprecated = 5_000_013, QuadletUnresolvedVariable = 5_000_014, QuadletSourceInvalid = 5_001_001, QuadletModelInvalid = 5_001_002, QuadletInputUnsupported = 5_001_003, QuadletInputApproximation = 5_001_004, QuadletNativeSyntax = 5_001_101, QuadletNativeModel = 5_001_102, QuadletNativeDocumentSet = 5_001_103, QuadletNativeFailure = 5_001_104,
}
Expand description

Stable identifier for one BoxFerry diagnostic rule.

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

ComposeModelInvalid = 1_000_001

§

ComposeProfileRequired = 1_000_002

§

ComposeProfileMismatch = 1_000_003

§

ComposeIntentUnsupported = 1_000_004

§

ComposeValueInvalid = 1_000_005

§

ComposeTargetInvalid = 1_000_006

§

ComposeOutputUnsupported = 1_000_007

§

ComposeGenerationFailed = 1_000_008

§

ComposeCompatibilityConstraint = 1_000_009

§

ComposeUnsetVariable = 1_000_101

§

ComposeRequiredVariable = 1_000_102

§

ComposeInterpolationInvalid = 1_000_103

§

ComposeInterpolationNestingLimit = 1_000_104

§

ComposeUnresolvedVariable = 1_000_105

§

ComposeNativeError = 1_000_197

§

ComposeNativeWarning = 1_000_198

§

ComposeNativeNote = 1_000_199

§

OrchestrationFailed = 3_001_000

§

InputReadFailed = 3_001_001

§

ComposeProjectRootInvalid = 3_001_002

§

PodmanTargetSelectionInvalid = 3_001_003

§

InterpolationInputInvalid = 3_001_004

§

ComposeLoadFailed = 3_001_005

§

ConversionFailed = 3_001_006

§

QuadletParseFailed = 3_001_007

§

OutputDirectoryNotEmpty = 3_002_001

§

OutputPathInvalid = 3_002_002

§

OutputWriteFailed = 3_002_003

§

ReportWriteFailed = 3_003_001

§

SupportBundleWriteFailed = 3_003_002

§

PodmanSourceInvalid = 4_000_001

§

PodmanInputUnmodelled = 4_000_002

§

PodmanPromotionRequired = 4_000_003

§

PodmanIdentityConflict = 4_000_004

§

PodmanSecretGrantIncomplete = 4_000_005

§

PodmanTargetInvalid = 4_000_006

§

PodmanOutputUnsupported = 4_000_007

§

PodmanPlanningFailed = 4_000_008

§

QuadletTargetInvalid = 5_000_001

§

QuadletOpenEndedTarget = 5_000_002

§

QuadletOutputUnsupported = 5_000_003

§

QuadletValueInvalid = 5_000_004

§

QuadletGenerationFailed = 5_000_005

§

QuadletCapabilityUnavailable = 5_000_006

§

QuadletGroupingApproximation = 5_000_007

§

QuadletDependencyUnsupported = 5_000_008

§

QuadletRestartApproximation = 5_000_009

§

QuadletEnvironmentFileApproximation = 5_000_010

§

QuadletGroupingInvalid = 5_000_011

§

QuadletDependencyInvalid = 5_000_012

§

QuadletCapabilityDeprecated = 5_000_013

§

QuadletUnresolvedVariable = 5_000_014

§

QuadletSourceInvalid = 5_001_001

§

QuadletModelInvalid = 5_001_002

§

QuadletInputUnsupported = 5_001_003

§

QuadletInputApproximation = 5_001_004

§

QuadletNativeSyntax = 5_001_101

§

QuadletNativeModel = 5_001_102

§

QuadletNativeDocumentSet = 5_001_103

§

QuadletNativeFailure = 5_001_104

Implementations§

Source§

impl RuleId

Source

pub const fn definition(self) -> &'static DiagnosticRule

Returns this rule’s immutable catalogue definition.

Trait Implementations§

Source§

impl Clone for RuleId

Source§

fn clone(&self) -> RuleId

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for RuleId

Source§

impl Debug for RuleId

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for RuleId

Source§

impl Hash for RuleId

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Ord for RuleId

Source§

fn cmp(&self, other: &RuleId) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 (const: unstable) · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 (const: unstable) · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl PartialEq for RuleId

Source§

fn eq(&self, other: &RuleId) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl PartialOrd for RuleId

Source§

fn partial_cmp(&self, other: &RuleId) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 (const: unstable) · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 (const: unstable) · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 (const: unstable) · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 (const: unstable) · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl StructuralPartialEq for RuleId

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.