fuchsia.io/NodeProtocolKinds
TYPE
fuchsia.io
sdk/fidl/fuchsia.io/node-protocols.fidl:22
A node may have multiple supported representations when opening, even though
it may have a fixed underlying identity.
Today, a file is accessed via the [`File`] protocol, and sends a
[`Representation.FileInfo`] when opened with `GET_REPRESENTATION`. However,
in the future we might introduce a more sophisticated `FileV2` protocol, or
a more efficient `SuperFastFile` backed by a specialized kernel object. New
clients can request the more advanced representations by specifying the
corresponding bits in [`NodeProtocolKinds`], whereas existing clients would
continue to talk to the node via the old representation.
[`NodeProtocolKinds`] enables forward-compatibility through a form of protocol
negotiation.
The elements have one-to-one correspondence with the members of
[`Representation`].
Documentation (1)
-
SUBSTANTIVE
sdk/fidl/fuchsia.io/node-protocols.fidl:22↗
Tests (0)
No test references.
Examples (0)
No example references.
Gaps
Missing categories:
- examples
- tests
Findings (1)
-
WARNING
MISSING_IN_CATEGORYno references in category "tests.unit_tests"