Crate tf_core

Source
Expand description

The core-part of Tubefeeder-extractor containing definitions like:

And a Pipeline for merging together videos from one platform.

Modules§

prelude

Structs§

ErrorStore
A Observable holding a list of Errors.
ErrorSummary
Summarize the Errors held in a ErrorStore by counting the number of different Error-types.
ExpandedVideo
A Video with a expanded feature set.
Expander
A Pipeline-component expanding Videos V into ExpandedVideos.
Merger
Merge the Videos generated from the Subscriptions in the SubscriptionList into one Iterator.
NetworkError
A error accessing the internet. The variable should hold information about what url failed to request.
ParseError
A error parsing something. The variable should hold information about what cannot be parsed, e.g. the channel name or id.
Pipeline
The Pipeline generating Videos V from the Subscriptions S.
StoreAccess
A pipeline elemnt putting generated Videos V from the Generator G into the VideoStore and generating Arc<Mutex<V>>.
SubscriptionList
A list of Subscriptions.
VideoStore
A store mapping [Video]s V to a globally unique Arc<Mutex<V>>-Version of the video.

Enums§

Error
The collection of all errors that can occur.
ErrorEvent
A event from the ErrorStore.
VideoEvent
A event thrown by ExpandedVideo.

Constants§

DATE_FORMAT
The date format that has to be used when serializing or deserializing Videos or Subscriptions.

Traits§

Generator
Generate a Generator::Iterator of Generator::Item asyncronously.
GeneratorWithClient
Generate a Generator::Iterator of Generator::Item given a reqwest::Client asyncronously.
Subscription
A Subscription to a channel. The Subscription must be able to generate Videos asyncronously.
Video
A Video that can come from any website. A video needs to be: