Function
endpoint
(from: &'static str, to: &'static str, predicate: Predicate)
Source from the content-addressed store, hash-verified
| 42 | One(Target::Removed { reason }) |
| 43 | } |
| 44 | const fn endpoint(from: &'static str, to: &'static str, predicate: Predicate) -> EndpointRule { |
| 45 | EndpointRule { |
| 46 | from_kind: Some(from), |
| 47 | to_kind: Some(to), |
| 48 | target: Target::Predicate(predicate), |
| 49 | } |
| 50 | } |
| 51 | const INTENT: Replacement = ClassWithRefinement { |
| 52 | base: C::WorkIntent, |
| 53 | refinements: &[ |
Tested by
no test coverage detected