Module attachment

Module attachment 

Source
Expand description

Use attachments to sync large binary files between peers.

Modules§

FetcherVersion
Type-level enum to distinguish between a DittoAttachmentFetcher that can and must be cancelled, and the legacy behavior where it was auto-cancelled on drop.

Structs§

DittoAttachment
Represents an attachment and can be used to insert the associated attachment into a document at a specific key.
DittoAttachmentFetcher
The output of store.fetch_attachment().
DittoAttachmentToken
Serves as a token for a specific attachment that you can pass to a call to fetch_attachment.

Enums§

DittoAttachmentFetchEvent
A representation of the events that can occur in relation to an attachment fetch.

Traits§

DittoAttachmentTokenLike
Trait abstracting over DittoAttachmentToken and a QueryResultItem::value() matching an input DittoAttachment.