#[non_exhaustive]pub enum CodeGroup {
Diag,
Vm,
Load,
TextError,
TextIssue,
DeclError,
}Expand description
A group of codes (corresponds to the prefix of the FTL keys used to look up messages).
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.
Diag
Compile diagnostics (diag-).
Vm
Runtime errors (vm-).
Load
Load errors (load-).
TextError
Text table errors (text-error-).
TextIssue
Results of checking a text table against the scripts (text-issue-).
DeclError
Declaration file errors (decl-error-).
Implementations§
Trait Implementations§
impl Copy for CodeGroup
impl Eq for CodeGroup
impl StructuralPartialEq for CodeGroup
Auto Trait Implementations§
impl Forget for CodeGroup
impl Freeze for CodeGroup
impl Move for CodeGroup
impl RefUnwindSafe for CodeGroup
impl Send for CodeGroup
impl Sync for CodeGroup
impl Unpin for CodeGroup
impl UnsafeUnpin for CodeGroup
impl UnwindSafe for CodeGroup
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