pub fn refuses_write(stored: TaskState, written: TaskState) -> boolExpand description
Whether a write carrying written must be refused over a task stored in
stored.
true exactly when stored is terminal and written differs from it.
See the module docs for why the same terminal state is allowed.