Enum ytextract::stream::Stream [−][src]
pub enum Stream { Audio(AudioStream), Video(VideoStream), }
Expand description
A Stream of a YouTube video
Variants
Audio(AudioStream)
Video(VideoStream)
Implementations
Returns true
if the stream is Self::Audio
.
Returns true
if the stream is Self::Video
.
Methods from Deref<Target = CommonStream>
The length of a Stream
in bytes
Get the Stream
as a AsyncStream
of Bytes
The DateTime<Utc>
of when a Stream
was last modified
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Stream
impl !UnwindSafe for Stream