reth::core::dirs

Trait XdgPath

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§

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§