pub type Name = String;
Expand description
The type for the name of a node, i.e. a single path component.
E.g. foo
§Invariants
A valid node name must meet the following criteria:
- It cannot be longer than
MAX_NAME_LENGTH
. - It cannot be empty.
- It cannot be “..” (dot-dot).
- It cannot be “.” (single dot).
- It cannot contain “/”.
- It cannot contain embedded NUL.
Aliased Type§
struct Name { /* private fields */ }