#[non_exhaustive]pub enum LateBindingDefinitionError {
TooManyInputs {
max: usize,
},
DuplicateInput,
}Expand description
Stable failures produced while validating a scoped-component definition.
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.
TooManyInputs
One component declared more late-bound inputs than the accepted bound.
DuplicateInput
Two declarations reused one stable input name.
Trait Implementations§
Source§impl Clone for LateBindingDefinitionError
impl Clone for LateBindingDefinitionError
impl Copy for LateBindingDefinitionError
Source§impl Debug for LateBindingDefinitionError
impl Debug for LateBindingDefinitionError
Source§impl Display for LateBindingDefinitionError
impl Display for LateBindingDefinitionError
impl Eq for LateBindingDefinitionError
Source§impl Error for LateBindingDefinitionError
impl Error for LateBindingDefinitionError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
impl StructuralPartialEq for LateBindingDefinitionError
Auto Trait Implementations§
impl Forget for LateBindingDefinitionError
impl Freeze for LateBindingDefinitionError
impl Move for LateBindingDefinitionError
impl RefUnwindSafe for LateBindingDefinitionError
impl Send for LateBindingDefinitionError
impl Sync for LateBindingDefinitionError
impl Unpin for LateBindingDefinitionError
impl UnsafeUnpin for LateBindingDefinitionError
impl UnwindSafe for LateBindingDefinitionError
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