Crate name

Source
Expand description

Data structures and functions relevant to fuchsia.io name processing.

These names may be used to designate the location of a node as it appears in a directory.

These should be aligned with the library comments in sdk/fidl/fuchsia.io/io.fidl.

Structs§

Name
The type for the name of a node, i.e. a single path component, e.g. foo.

Enums§

ParseNameError

Constants§

MAX_NAME_LENGTH
The maximum length, in bytes, of a single filesystem component.

Functions§

parse_name
Parses a string name into a Name.
validate_name
Check whether a string name will be a valid input to Name.