Skip to main content

ReferenceYoutubeLaws

Type Alias ReferenceYoutubeLaws 

Source
pub type ReferenceYoutubeLaws = LawEnv<MediaSyntax, ProcessingSyntax, ReferenceExtractorRegistry, ReferenceYoutubeDownloadEnv, ReferenceYoutubeEnv, ManagerState>;
Expand description

Names the composition the Youtube law scenarios run against.

Youtube retrieval consumes the reified request rather than a URL, so this composition differs from the generic one in exactly one component: the interpreter that locates a request’s bytes.

Aliased Type§

pub struct ReferenceYoutubeLaws { /* private fields */ }

Trait Implementations§

Source§

impl Default for ReferenceYoutubeLaws

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl MediaProgramLawFixture for ReferenceYoutubeLaws

Source§

fn located_law_source(&self) -> String

Names a source the interpreter can retrieve.
Source§

fn law_extension(&self) -> String

Names the extension the scenario states on its format.
Source§

fn expected_law_bytes(&self) -> Vec<u8> ⓘ

States the exact bytes the source denotes.
Source§

fn law_published_bytes(&self, path: &Path) -> Option<Vec<u8>>

Observes bytes published at one path.