Macros

Pattern that matches an unknown ClipboardError member.
Pattern that matches an unknown ClipboardItemData member.

Structs

Enums

Set of errors that can be returned by the clipboard server.
The payload of a ClipboardItem. Future expansions will support additional transport formats.
A protocol that allows graphical clients that own ViewRefs to request read (“paste”) access to the clipboard. Clients can register for access at any time, but GetItem calls will only succeed while the view has input focus.
A protocol that allows graphical clients that own ViewRefs to request write (“copy”) access to the clipboard. Clients can register for access at any time, but SetItem calls will only succeed while the view has input focus.
Allows data to be read from the clipboard, i.e. pasted.
Allows data to be written to the clipboard, i.e. copied.

Constants

The maximum length of a MIME Type identifier. Per IETF RFC 4288, a MIME type may have up to 127 characters before and 127 characters after the slash, for a total of 255.
The maximum length of a plain-text clipboard item in bytes. Although FIDL messages support larger messages, this limit allows space to be reserved for potential other fields in the message.

Traits

Type Definitions