Skip to main content

TypedRuleViolation

Trait TypedRuleViolation 

Source
pub(super) trait TypedRuleViolation:
    Send
    + Sync
    + 'static {
    type Rule: TypedRule<Violation = Self>;
}
Expand description

Typed link between a concrete violation and its owning rule.

Required Associated Types§

Source

type Rule: TypedRule<Violation = Self>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§