pub enum ExpectedClosureViolation {
InconsistentDenominatorOrCeiling,
NoChangeContract,
UnaffectedFloor,
PresentationOnlyContract,
}Expand description
Structural reason an independently authored oracle cannot be frozen.
Variants§
InconsistentDenominatorOrCeiling
Denominators differ, are zero, or conflict with affected ceilings.
NoChangeContract
D1 does not describe a complete semantic no-op.
UnaffectedFloor
D2 or D4 violates its required unaffected percentage.
PresentationOnlyContract
D6 predicts semantic work, excessive revision, or carried state.
Trait Implementations§
Source§impl Clone for ExpectedClosureViolation
impl Clone for ExpectedClosureViolation
impl Copy for ExpectedClosureViolation
Source§impl Debug for ExpectedClosureViolation
impl Debug for ExpectedClosureViolation
impl Eq for ExpectedClosureViolation
Source§impl PartialEq for ExpectedClosureViolation
impl PartialEq for ExpectedClosureViolation
impl StructuralPartialEq for ExpectedClosureViolation
Auto Trait Implementations§
impl Freeze for ExpectedClosureViolation
impl RefUnwindSafe for ExpectedClosureViolation
impl Send for ExpectedClosureViolation
impl Sync for ExpectedClosureViolation
impl Unpin for ExpectedClosureViolation
impl UnsafeUnpin for ExpectedClosureViolation
impl UnwindSafe for ExpectedClosureViolation
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