pub struct JsonFileConfiguration<TConfiguration> where
for<'de> TConfiguration: Deserialize<'de> + Serialize + Default + Sync + Send + 'static, { /* private fields */ }Implementations
Trait Implementations
sourceimpl<TConfiguration: Clone> Clone for JsonFileConfiguration<TConfiguration> where
for<'de> TConfiguration: Deserialize<'de> + Serialize + Default + Sync + Send + 'static,
impl<TConfiguration: Clone> Clone for JsonFileConfiguration<TConfiguration> where
for<'de> TConfiguration: Deserialize<'de> + Serialize + Default + Sync + Send + 'static,
sourcefn clone(&self) -> JsonFileConfiguration<TConfiguration>
fn clone(&self) -> JsonFileConfiguration<TConfiguration>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<TConfiguration> ISource<TConfiguration> for JsonFileConfiguration<TConfiguration> where
for<'de> TConfiguration: Deserialize<'de> + Serialize + Default + Sync + Send + 'static,
impl<TConfiguration> ISource<TConfiguration> for JsonFileConfiguration<TConfiguration> where
for<'de> TConfiguration: Deserialize<'de> + Serialize + Default + Sync + Send + 'static,
fn get<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = LoadConfigurationResult<TConfiguration>> + Send + Sync + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn set<'life0, 'life1, 'async_trait>(
&'life0 self,
configuration: &'life1 TConfiguration
) -> Pin<Box<dyn Future<Output = SyncConfigurationResult> + Send + Sync + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations
impl<TConfiguration> RefUnwindSafe for JsonFileConfiguration<TConfiguration> where
TConfiguration: RefUnwindSafe,
impl<TConfiguration> Send for JsonFileConfiguration<TConfiguration>
impl<TConfiguration> Sync for JsonFileConfiguration<TConfiguration>
impl<TConfiguration> Unpin for JsonFileConfiguration<TConfiguration> where
TConfiguration: Unpin,
impl<TConfiguration> UnwindSafe for JsonFileConfiguration<TConfiguration> where
TConfiguration: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more