Crate fidl_fuchsia_ui_clipboard
source ·Macros
Pattern that matches an unknown
ClipboardError
member.Pattern that matches an unknown
ClipboardItemData
member.Structs
A single item on the clipboard, consisting of a MIME type and a payload.
Metadata about the current state of the clipboard contents.
A Stream of incoming requests for FocusedReaderRegistry
A Stream of incoming requests for FocusedWriterRegistry
A Stream of incoming requests for Reader
A Stream of incoming requests for Writer
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
ViewRef
s 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
ViewRef
s 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.