Skip to main content
Module tasks
xmtp_db
1.12.0-dev
Module tasks
Module Items
Structs
Enums
Constants
Traits
Functions
In xmtp_
db::
encrypted_
store
xmtp_db
::
encrypted_store
Module
tasks
Copy item path
Source
Structs
§
NewTask
NewTask
Builder
Builder for
NewTask
.
Task
Task
Data
Hash
A task row’s identity: sha256 over the prost-encoded payload. Payload encodings must stay canonical — never add protobuf map fields to task messages (map entry order is nondeterministic); see the pinned-encoding test.
Enums
§
NewTask
Builder
Error
Error type for NewTaskBuilder
Constants
§
NEVER_
EXPIRES
Never reaped by expiry: the row’s lifetime is bounded by other means (a recurring row lives forever; an applied pull-in self-deletes).
Traits
§
Query
Tasks
Functions
§
data_
hash_
for
Compute a task payload’s
data_hash
exactly as
NewTaskBuilder::build
does.