Trait miau::source::AsyncSource [−][src]
Represents asynchronous (non-blocking) config source.
Required methods
#[must_use]fn collect<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, ConfigurationError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, ConfigurationError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Asynchronous function to fetch source data.
It uses async_trait
which is required to implement AsyncSource
.
fn describe(&self) -> String
[src]
Description of the source.