fn enqueue_one(
state: &AppState,
item: &WorkItem,
after: &[String],
card: &NewCard,
) -> Result<Option<i64>, (StatusCode, Json<Value>)>Expand description
Enqueue one task with what it starts after (the row and the list in one transaction, so no claim takes it in between) and file its card.