pub enum LoweringRefusal {
CompilerSemantics {
build: CompilerSemantics,
bound: CompilerSemantics,
},
MissingCapability {
capability: String,
},
}Expand description
Why a profile cannot lower a plan for a key.
Variants§
CompilerSemantics
The plan’s indices are only meaningful under the lowering that produced them, and this profile lowers other semantics.
MissingCapability
The plan needs a lowering capability this profile does not declare.
Trait Implementations§
Source§impl Clone for LoweringRefusal
impl Clone for LoweringRefusal
Source§fn clone(&self) -> LoweringRefusal
fn clone(&self) -> LoweringRefusal
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 LoweringRefusal
impl Debug for LoweringRefusal
Source§impl Display for LoweringRefusal
impl Display for LoweringRefusal
impl Eq for LoweringRefusal
Source§impl Error for LoweringRefusal
impl Error for LoweringRefusal
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()
Source§impl PartialEq for LoweringRefusal
impl PartialEq for LoweringRefusal
impl StructuralPartialEq for LoweringRefusal
Auto Trait Implementations§
impl Forget for LoweringRefusal
impl Freeze for LoweringRefusal
impl Move for LoweringRefusal
impl RefUnwindSafe for LoweringRefusal
impl Send for LoweringRefusal
impl Sync for LoweringRefusal
impl Unpin for LoweringRefusal
impl UnsafeUnpin for LoweringRefusal
impl UnwindSafe for LoweringRefusal
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.