pub enum FeatureCompileError {
InvalidDocument(String),
DuplicateId(String),
MissingReference(String),
UnsafePath(String),
Io(String),
}Expand description
A bounded feature compilation failure that prevents an ambiguous artifact.
§Variants
InvalidDocument: SupportedFeatureCompileErrorvariant.DuplicateId: SupportedFeatureCompileErrorvariant.MissingReference: SupportedFeatureCompileErrorvariant.UnsafePath: SupportedFeatureCompileErrorvariant.Io: SupportedFeatureCompileErrorvariant.
§Examples
ⓘ
let _ = pharos_runtime_compiler::features::FeatureCompileError::InvalidDocument;§Related
crate::featuresfor constructors, helpers, and neighboring runtime types.
Variants§
Trait Implementations§
Source§impl Clone for FeatureCompileError
impl Clone for FeatureCompileError
Source§fn clone(&self) -> FeatureCompileError
fn clone(&self) -> FeatureCompileError
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 moreSource§impl Debug for FeatureCompileError
impl Debug for FeatureCompileError
Source§impl PartialEq for FeatureCompileError
impl PartialEq for FeatureCompileError
Source§fn eq(&self, other: &FeatureCompileError) -> bool
fn eq(&self, other: &FeatureCompileError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for FeatureCompileError
impl StructuralPartialEq for FeatureCompileError
Auto Trait Implementations§
impl Freeze for FeatureCompileError
impl RefUnwindSafe for FeatureCompileError
impl Send for FeatureCompileError
impl Sync for FeatureCompileError
impl Unpin for FeatureCompileError
impl UnsafeUnpin for FeatureCompileError
impl UnwindSafe for FeatureCompileError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.