pub struct GetConfigField<Key>(pub PhantomData<Key>);Tuple Fields§
§0: PhantomData<Key>Trait Implementations§
Source§impl<App, Key, Runtime> ConfigPathGetter<App> for GetConfigField<Key>where
App: HasRuntime<Runtime = Runtime> + HasField<Key, Field = Runtime::FilePath>,
Runtime: HasFilePathType,
Key: Async,
impl<App, Key, Runtime> ConfigPathGetter<App> for GetConfigField<Key>where
App: HasRuntime<Runtime = Runtime> + HasField<Key, Field = Runtime::FilePath>,
Runtime: HasFilePathType,
Key: Async,
fn config_path(app: &App) -> &Runtime::FilePath
Auto Trait Implementations§
impl<Key> Freeze for GetConfigField<Key>
impl<Key> RefUnwindSafe for GetConfigField<Key>where
Key: RefUnwindSafe,
impl<Key> Send for GetConfigField<Key>where
Key: Send,
impl<Key> Sync for GetConfigField<Key>where
Key: Sync,
impl<Key> Unpin for GetConfigField<Key>where
Key: Unpin,
impl<Key> UnwindSafe for GetConfigField<Key>where
Key: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more