pub enum WeightBindingSelectionError {
Recipe(RecipeError),
Declaration(ResidencyDeclarationError),
}Expand description
Failure while rewriting a binding into bounded physical selections.
Variants§
Recipe(RecipeError)
Neutral recipe inference or selection pushdown failed.
Declaration(ResidencyDeclarationError)
The rewritten binding declaration was invalid.
Trait Implementations§
Source§impl Debug for WeightBindingSelectionError
impl Debug for WeightBindingSelectionError
Source§impl Error for WeightBindingSelectionError
impl Error for WeightBindingSelectionError
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()
Source§impl From<RecipeError> for WeightBindingSelectionError
impl From<RecipeError> for WeightBindingSelectionError
Source§fn from(source: RecipeError) -> Self
fn from(source: RecipeError) -> Self
Converts to this type from the input type.
Source§impl From<ResidencyDeclarationError> for WeightBindingSelectionError
impl From<ResidencyDeclarationError> for WeightBindingSelectionError
Source§fn from(source: ResidencyDeclarationError) -> Self
fn from(source: ResidencyDeclarationError) -> Self
Converts to this type from the input type.
Source§impl From<WeightBindingSelectionError> for BindingPlacementError
impl From<WeightBindingSelectionError> for BindingPlacementError
Source§fn from(source: WeightBindingSelectionError) -> Self
fn from(source: WeightBindingSelectionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WeightBindingSelectionError
impl RefUnwindSafe for WeightBindingSelectionError
impl Send for WeightBindingSelectionError
impl Sync for WeightBindingSelectionError
impl Unpin for WeightBindingSelectionError
impl UnsafeUnpin for WeightBindingSelectionError
impl UnwindSafe for WeightBindingSelectionError
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