pub struct InMemoryConfigSource(pub AppConfig);Expand description
In-memory configuration source for testing and WASM environments.
Holds a pre-built AppConfig and returns a clone on load().
Always available (no cfg gate).
Tuple Fields§
§0: AppConfigTrait Implementations§
Auto Trait Implementations§
impl Freeze for InMemoryConfigSource
impl RefUnwindSafe for InMemoryConfigSource
impl Send for InMemoryConfigSource
impl Sync for InMemoryConfigSource
impl Unpin for InMemoryConfigSource
impl UnsafeUnpin for InMemoryConfigSource
impl UnwindSafe for InMemoryConfigSource
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