reth_node_core::dirs

Trait XdgPath

Source
pub trait XdgPath {
    // Required method
    fn resolve() -> Option<PathBuf>;
}
Expand description

A small helper trait for unit structs that represent a standard path following the XDG path specification.

Required Methods§

Source

fn resolve() -> Option<PathBuf>

Resolve the standard path.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§