pub enum DialectInstallError {
ResourceLimit {
dialect_name: String,
detail: String,
},
R1Violation {
dialect_name: String,
recursive: Vec<String>,
},
R2Violation {
dialect_name: String,
},
R2ProtocolBudgetExceeded {
dialect_name: String,
expanded_steps: u32,
budget: u32,
},
R3Violation {
dialect_name: String,
redefined: Vec<String>,
},
R4Violation {
dialect_name: String,
},
R7Violation {
dialect_name: String,
violations: Vec<R7Violation>,
},
R5Violation {
dialect_name: String,
shape_errors: Vec<String>,
},
R6Violation {
dialect_name: String,
violations: Vec<R6Violation>,
},
}Expand description
Error returned when dialect installation fails.
Variants§
ResourceLimit
R1Violation
A performative template references its own name (R1 violation).
R2Violation
The dialect’s resource bounds are invalid (R2 violation).
R2ProtocolBudgetExceeded
The protocol’s expanded step count — after (repeat k …)
macro-expansion (SPEC-015 REQ-704) — is not within the dialect’s
declared R2 expansion budget. This is what keeps k honest:
repetition is priced in R2’s existing declared-bounds currency.
Fields
R3Violation
The dialect redefines one or more core performatives (R3 violation).
R4Violation
The dialect’s signature failed verification (R4 violation).
R7Violation
The state clause is ill-formed or the self-address is wrong (R7, SPEC-019 REQ-1910).
R5Violation
A shape constraint is malformed (R5 violation).
R6Violation
The dialect’s role layer is ill-formed (R6 violation, SPEC-014 REQ-627).
Trait Implementations§
Source§impl Clone for DialectInstallError
impl Clone for DialectInstallError
Source§impl Debug for DialectInstallError
impl Debug for DialectInstallError
Source§impl Display for DialectInstallError
impl Display for DialectInstallError
impl Eq for DialectInstallError
Source§impl PartialEq for DialectInstallError
impl PartialEq for DialectInstallError
impl StructuralPartialEq for DialectInstallError
Auto Trait Implementations§
impl Forget for DialectInstallError
impl Freeze for DialectInstallErrorwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<R7Violation>: Freeze,
PhantomData<R6Violation>: Freeze,
impl Move for DialectInstallError
impl RefUnwindSafe for DialectInstallError
impl Send for DialectInstallErrorwhere
RawVecInner: Send,
impl Sync for DialectInstallErrorwhere
RawVecInner: Sync,
impl Unpin for DialectInstallError
impl UnsafeUnpin for DialectInstallErrorwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<R7Violation>: UnsafeUnpin,
PhantomData<R6Violation>: UnsafeUnpin,
impl UnwindSafe for DialectInstallErrorwhere
RawVecInner: UnwindSafe,
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