Trait fetcher_core::action::transform::entry::TransformEntry
source · pub trait TransformEntry: Debug {
type Err: Into<TransformErrorKind>;
// Required method
fn transform_entry<'life0, 'async_trait>(
&'life0 self,
entry: Entry
) -> Pin<Box<dyn Future<Output = Result<Vec<TransformedEntry>, Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
Transform an entry into one or more entries. This is the type transforms should implement as it includes easier error management
Required Associated Types§
sourcetype Err: Into<TransformErrorKind>
type Err: Into<TransformErrorKind>
Error that may be returned. Returns Infallible if it never errors