Struct rustube::blocking::Video [−][src]
pub struct Video(_);
blocking
only.Expand description
A synchronous wrapper around Video
.
Implementations
This is supported on crate feature descramble
only.
descramble
only.A synchronous wrapper around Video::form_url
.
Errors
- When
VideoFetcher::from_url
fails. - When
VideoFetcher::fetch
fails. - When
VideoDescrambler::descramble
fails.
This is supported on crate feature descramble
only.
descramble
only.A synchronous wrapper around Video::form_id
.
Errors
- When
VideoFetcher::fetch
fails. - When
VideoDescrambler::descramble
fails.
This is supported on crate feature descramble
only.
descramble
only.Takes all Stream
s of the video.
Methods from Deref<Target = AsyncVideo>
This is supported on crate feature descramble
only.
descramble
only.The VideoInfo
of the video.
This is supported on crate feature descramble
only.
descramble
only.All Stream
s of the video.
This is supported on crate feature descramble
only.
descramble
only.The VideoDetails
s of the video.
This is supported on crate feature descramble
only.
descramble
only.The Id
of the video.
This is supported on crate feature descramble
only.
descramble
only.The title of the video.
This is supported on crate feature descramble
only.
descramble
only.Whether or not the video is age restricted.
This is supported on crate feature descramble
only.
descramble
only.The Stream
with the best quality.
This stream is guaranteed to contain both a video as well as an audio track.
This is supported on crate feature descramble
only.
descramble
only.The Stream
with the worst quality.
This stream is guaranteed to contain both a video as well as an audio track.
This is supported on crate feature descramble
only.
descramble
only.The Stream
with the best video quality.
This stream is guaranteed to contain only a video but no audio track.
This is supported on crate feature descramble
only.
descramble
only.The Stream
with the worst video quality.
This stream is guaranteed to contain only a video but no audio track.
This is supported on crate feature descramble
only.
descramble
only.The Stream
with the best audio quality.
This stream is guaranteed to contain only a audio but no video track.
This is supported on crate feature descramble
only.
descramble
only.The Stream
with the worst audio quality.
This stream is guaranteed to contain only a audio but no video track.
Trait Implementations
descramble
only.descramble
only.descramble
only.type Target = AsyncVideo
type Target = AsyncVideo
The resulting type after dereferencing.
descramble
only.descramble
only.descramble
only.descramble
only.Auto Trait Implementations
impl !RefUnwindSafe for Video
impl !UnwindSafe for Video
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more