pub enum RefusalClass {
DeclarationNotRead,
PlanNotStated,
RenderingNotProduced,
RenderingNotClosed,
ExplanationNotCovered,
MagnitudeNotHeld,
ExpansionNotBound,
CarrierNotAssembled,
CarrierNotDeclared,
Declared {
name: DiagnosticName,
described: &'static str,
},
}Expand description
Which class of refusal one composed line is about.
The class is the second clause of every line and is READ off this roster rather than written at the seam that refused, so two seams reporting one class do not read as two.
Variants§
DeclarationNotRead
The declared input was not read into a captured surface.
PlanNotStated
Planning refused before a token of Rust existed.
RenderingNotProduced
A renderer did not produce the unit the plan named.
RenderingNotClosed
The rendering does not close over the plan it claims to materialize.
ExplanationNotCovered
The written explanation does not cover its kind’s questions.
MagnitudeNotHeld
A rendering would have passed a declared magnitude.
ExpansionNotBound
The three values a binding seals do not belong to one expansion.
CarrierNotAssembled
A set of closed outputs does not compose into one exported carrier.
CarrierNotDeclared
The carrier’s own vocabulary was not declared.
Declared
A class an adopter declared, for a refusal none of the rows above say.
The two spellings are the adopter’s own, and a line about it reads them exactly as a line about any row above reads that row’s.
Fields
name: DiagnosticNameThe stable kebab-case name.
Implementations§
Source§impl RefusalClass
impl RefusalClass
Trait Implementations§
Source§impl Clone for RefusalClass
impl Clone for RefusalClass
Source§fn clone(&self) -> RefusalClass
fn clone(&self) -> RefusalClass
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more