pub async fn history_query_changes<O, B, F, Fut>(
backend: &B,
caller: &B::CallerCtx,
args: Value,
using: &[String],
plain: F,
) -> Result<HandlerOutput, JmapError>where
F: FnOnce(Value) -> Fut,
Fut: Future<Output = Result<HandlerOutput, JmapError>>,
O: HistoryObject + QueryObject,
B: ObjectHistoryBackend,Expand description
handle_query_changes_with_history with plain as the call made when no history
argument is set, for a type whose plain handler is its own (a custom
getter, a type-specific query).
§Errors
As handle_query_changes_with_history, with plain’s errors in place of the default
handler’s.