Skip to main content

check_edge

Function check_edge 

Source
fn check_edge(
    id: Uuid,
    from: CreditRegistrationState,
    to: CreditRegistrationState,
    policy: TransitionPolicy,
) -> ModelResult<()>
Expand description

Refuses an edge outside the policy. The one place (from → to) legality is decided, for the single-row transition and the batched transition_batch alike.