Skip to main content

finalize_create

Function finalize_create 

Source
async fn finalize_create<E: CreateAttachmentFailure>(
    response: AttachmentUploadDataResponseModel,
    into_cipher: impl AsyncFnOnce(AttachmentUploadDataResponseModel) -> Result<Cipher, E>,
) -> Result<CreatedAttachment, E>