Skip to main content

holder_result

Function holder_result 

Source
fn holder_result(ok: bool, state: &AppState) -> (StatusCode, Json<Value>)
Expand description

Shared shape for the three holder-only transitions. No match from the store means the caller is not the current holder OR its fence is stale — both are CONFLICT, not NOT_FOUND: the row usually still exists, it just moved on without this caller.