Skip to main content

Module path

Module path 

Source
Expand description

The Path type.

A path is a hierarchical identifier with fragments separated by ::. Simple Rust paths like a, and a::b::c are valid Paths. Complex Rust paths like a::{b, c}, and a::* are not valid Paths.

Paths are used to represent the module on crate::event::Events.

Structs§

InvalidPathError
An error attempting to use an invalid Path.
Path
A hierarchical identifier, such as a::b::c.
Segments
The result of Path::segments.

Functions§

is_valid_path
Whether the given path is valid.