StructsΒ§
- Create
Attachment Request - Metadata for opening a new attachment slot on the server.
- Created
Attachment - Server data for a newly created attachment slot. The caller uploads the
encrypted bytes to
Self::upload_urlusingSelf::file_upload_type
EnumsΒ§
- Attachment
File Upload Type - Where attachment bytes should be uploaded.
- Cipher
Create Attachment Error
ConstantsΒ§
- UNIFFI_
META_ πCONST_ BITWARDEN_ VAULT_ ENUM_ ATTACHMENTFILEUPLOADTYPE - UNIFFI_
META_ πCONST_ BITWARDEN_ VAULT_ ERROR_ CIPHERCREATEATTACHMENTERROR - UNIFFI_
META_ πCONST_ BITWARDEN_ VAULT_ RECORD_ CREATEATTACHMENTREQUEST - UNIFFI_
META_ πCONST_ BITWARDEN_ VAULT_ RECORD_ CREATEDATTACHMENT
TraitsΒ§
- Create
Attachment πFailure - Failures shared by the user and admin create flows. Each scope implements this for its own error type, so the admin error doesnβt carry repository variants it can never produce.
FunctionsΒ§
- create_
attachment π - Opens an attachment slot, then hands the server response to
into_cipherto produce the returned cipher. If anything after slot creation fails, the slot is deleted best-effort through the endpoint matchingas_admin. - finalize_
create π