pub trait Target: Send + Sync {
// Required methods
fn name(&self) -> &str;
fn publish<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
directory: &'life1 Path,
metadata: Option<&'life2 HashMap<String, String>>,
) -> Pin<Box<dyn Future<Output = AppResult<PublishResult>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
}Expand description
Destination for collected dataset output.
Required Methods§
Sourcefn publish<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
directory: &'life1 Path,
metadata: Option<&'life2 HashMap<String, String>>,
) -> Pin<Box<dyn Future<Output = AppResult<PublishResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn publish<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
directory: &'life1 Path,
metadata: Option<&'life2 HashMap<String, String>>,
) -> Pin<Box<dyn Future<Output = AppResult<PublishResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Publish the dataset directory and optional metadata.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".