Skip to main content

Module file_clipboard

Module file_clipboard 

Expand description

The local host’s Files clipboard. Offers are opaque, never path lists.

Structs§

NamedEntry
An entry of a shown folder, by its leaf name and the object the window showed under it.
ObjectIdentity
A precondition from the actual retained object shown by this window. This is not an identity claim or a grant: the host compares it with both its authorized lookup and the descriptor the attested peer handed over.
Offer
SelectedDescriptor

Enums§

Command
Conflict
What a paste does with an item whose name the destination already has.
Reply

Constants§

MAX_DESCRIPTOR
The highest SelectedDescriptor::descriptor a command may carry.
MAX_ENTRIES
The most descriptors one command hands over (each item of a plain Command::Capture travels as its own descriptor).
MAX_NAMED_PER_COMMAND
The most entries one Command::CaptureNamed names. It bounds one message, which MAX_WIRE_BYTES bounds anyway; a selection of any size is captured in as many commands as it needs, one folder descriptor each, and published as one offer.
MAX_NAME_BYTES
The longest leaf name a Command::CaptureNamed carries (NAME_MAX).
MAX_WIRE_BYTES