bookclerk_library::atomic_status

Development These docs follow the development version and change with every merge.

Last updated View as Markdown

Application status strings produced by host plan interpretation.

Item Kind Summary
OK constant Operation committed with the expected payload (or no payload).
EMPTY constant Consume-once lookup found nothing (or the row was expired).
NOT_FOUND constant Target row does not exist.
LAST_OWNER constant Refused: would remove the last active owner.
CLAIM_INVALID constant Claim ticket missing, expired, or already redeemed.
PASSWORD_REQUIRED constant Local claim login needs a password; the ticket was not consumed.
IDEMPOTENCY_CONFLICT constant Same operationId reused with a different request body.
DUPLICATE constant Job admit found an equivalent pending/running row.
QUEUE_FULL constant Job admit refused because the pending+running cap was reached.
RETRY constant Another writer changed the rows a listing link read; resolve again.

Constants

OK

pub const OK: &str = "ok";

Operation committed with the expected payload (or no payload).

EMPTY

pub const EMPTY: &str = "empty";

Consume-once lookup found nothing (or the row was expired).

NOT_FOUND

pub const NOT_FOUND: &str = "notFound";

Target row does not exist.

LAST_OWNER

pub const LAST_OWNER: &str = "lastOwner";

Refused: would remove the last active owner.

CLAIM_INVALID

pub const CLAIM_INVALID: &str = "claimInvalid";

Claim ticket missing, expired, or already redeemed.

PASSWORD_REQUIRED

pub const PASSWORD_REQUIRED: &str = "passwordRequired";

Local claim login needs a password; the ticket was not consumed.

IDEMPOTENCY_CONFLICT

pub const IDEMPOTENCY_CONFLICT: &str = "idempotencyConflict";

Same operationId reused with a different request body.

DUPLICATE

pub const DUPLICATE: &str = "duplicate";

Job admit found an equivalent pending/running row.

QUEUE_FULL

pub const QUEUE_FULL: &str = "queueFull";

Job admit refused because the pending+running cap was reached.

RETRY

pub const RETRY: &str = "retry";

Another writer changed the rows a listing link read; resolve again.

Generated from crates/bookclerk-library at main · View as Markdown