fidl_fuchsia_io

Type Alias Id

Source
pub type Id = u64;
Expand description

The type to identify a node, if the implementation supports some notion of unique node ID.

ยงUniqueness Guarantees

A client is usually presented with a directory tree that is the result of composing together multiple backing implementation instances. An ID would be unique within the corresponding instance only. Their boundaries are rather implicit on Fuchsia, as a result of transparently-forwarding directory proxies. It could be common for a client to observe identical Ids when traversing a directory tree, when it encounters nodes from different backing instances. Therefore, the ID is best used for debugging and informational purposes.

The [fuchsia.fs/FilesystemInfo.fs_id] field may be used to disambiguate IDs from different backing instances.