Skip to main content

decode_routed_mutation

Function decode_routed_mutation 

pub fn decode_routed_mutation(
    route: &RouteSpec,
    payload: WholeDocumentPayload,
    decrypted_payload: Option<&[u8]>,
) -> Result<DocumentMutation, DocumentMutationError>
Expand description

The mutation payload carries on route: the cleartext one, or the endpoint’s decryption of an encrypted one, which must name route’s channel.