Expand description
JMAP Tasks extension method handlers (draft-ietf-jmap-tasks-06).
§Usage
Implement TasksBackend for your storage layer, then call
register_tasks_handlers to wire all method names into a
jmap_server::Dispatcher:
let mut dispatcher: Dispatcher<()> = Dispatcher::new();
register_tasks_handlers(&mut dispatcher, Arc::new(backend));§memory feature (reference implementation)
Enable the memory feature to expose the memory::MemoryBackend
reference implementation of TasksBackend. This is the same backend
used by this crate’s own integration tests, intended for downstream
contributors to study and for smoke tests / examples that do not want
to stand up a real database. Not production. API stability is
opt-in via this feature and may break across minor versions while the
crate is pre-1.0.
Enums§
- Task
List Property - Property selector for
crate::TaskList/getand/set. - Task
Notification Property - Property selector for
crate::TaskNotification/get. - Task
Property - Property selector for
crate::Task/getand/set.
Constants§
- JMAP_
TASKS_ URI - Capability URI for
urn:ietf:params:jmap:tasks. Capability URI for core JMAP Tasks support (draft-tasks-06 §1.6.1).
Traits§
- Tasks
Backend - Storage backend for JMAP Tasks method handlers (draft-ietf-jmap-tasks-06).
Functions§
- handle_
task_ changes - Handle a
Task/changesmethod call (draft-tasks-06 §4.6). - handle_
task_ copy - Handle a
Task/copymethod call (draft-tasks-06 §4.8). - handle_
task_ get - Handle a
Task/getmethod call (draft-tasks-06 §4.5). - handle_
task_ list_ changes - Handle a
TaskList/changesmethod call (draft-tasks-06 §3.6). - handle_
task_ list_ get - Handle a
TaskList/getmethod call (draft-tasks-06 §3.5). - handle_
task_ list_ set - Handle a
TaskList/setmethod call (draft-tasks-06 §3.7). - handle_
task_ notification_ changes - Handle a
TaskNotification/changesmethod call (draft-tasks-06 §5.3). - handle_
task_ notification_ get - Handle a
TaskNotification/getmethod call (draft-tasks-06 §5.2). - handle_
task_ notification_ query - Handle a
TaskNotification/querymethod call (draft-tasks-06 §5.5). - handle_
task_ notification_ query_ changes - Handle a
TaskNotification/queryChangesmethod call (draft-tasks-06 §5.6). - handle_
task_ notification_ set - Handle a
TaskNotification/setmethod call (draft-tasks-06 §5.4). - handle_
task_ query - Handle a
Task/querymethod call (draft-tasks-06 §4.13). - handle_
task_ query_ changes - Handle a
Task/queryChangesmethod call (draft-tasks-06 §4.14). - handle_
task_ set - Handle a
Task/setmethod call (draft-tasks-06 §4.7). - register_
tasks_ handlers - Register all JMAP Tasks method handlers with
dispatcher.