Skip to main content

patch

Function patch 

Source
pub async fn patch(
    storage: &dyn Storage,
    sinks: &WriteSinks<'_>,
    request: PatchRequest<'_>,
) -> Result<PutOutcome, WriteError>
Expand description

Apply one optimistic PATCH attempt using the current HEAD ETag as the internal CAS anchor.

ยงErrors

Returns WriteError when caller preconditions fail, the requested splice is invalid, the object is too large to patch, storage rejects the internal CAS, or the indexer queue is full.