Trait ConfigPathGetter

Source
pub trait ConfigPathGetter<App>
where App: HasRuntime<Runtime: HasFilePathType>,
{ // Required method fn config_path(app: &App) -> &FilePathOf<App::Runtime>; }

Required Methods§

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§

Source§

impl<App, Key, Runtime> ConfigPathGetter<App> for GetConfigField<Key>
where App: HasRuntime<Runtime = Runtime> + HasField<Key, Field = Runtime::FilePath>, Runtime: HasFilePathType, Key: Async,

Source§

impl<Component, App> ConfigPathGetter<App> for Component