pub enum ComponentDefinitionRegistryError {
DuplicateComponentName(String),
DuplicateComponentType(String),
MissingBaseComponent {
alias_type: String,
target_type: String,
},
DuplicatePrimaryComponent {
alias_type: String,
target_type: String,
},
}Expand description
Error related to component registries.
Variants§
DuplicateComponentName(String)
DuplicateComponentType(String)
MissingBaseComponent
DuplicatePrimaryComponent
Trait Implementations§
source§impl Clone for ComponentDefinitionRegistryError
impl Clone for ComponentDefinitionRegistryError
source§fn clone(&self) -> ComponentDefinitionRegistryError
fn clone(&self) -> ComponentDefinitionRegistryError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Error for ComponentDefinitionRegistryError
impl Error for ComponentDefinitionRegistryError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl Ord for ComponentDefinitionRegistryError
impl Ord for ComponentDefinitionRegistryError
source§fn cmp(&self, other: &ComponentDefinitionRegistryError) -> Ordering
fn cmp(&self, other: &ComponentDefinitionRegistryError) -> Ordering
1.21.0 · 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
source§impl PartialEq<ComponentDefinitionRegistryError> for ComponentDefinitionRegistryError
impl PartialEq<ComponentDefinitionRegistryError> for ComponentDefinitionRegistryError
source§fn eq(&self, other: &ComponentDefinitionRegistryError) -> bool
fn eq(&self, other: &ComponentDefinitionRegistryError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<ComponentDefinitionRegistryError> for ComponentDefinitionRegistryError
impl PartialOrd<ComponentDefinitionRegistryError> for ComponentDefinitionRegistryError
source§fn partial_cmp(
&self,
other: &ComponentDefinitionRegistryError
) -> Option<Ordering>
fn partial_cmp( &self, other: &ComponentDefinitionRegistryError ) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more