Struct rustube::blocking::VideoFetcher [−][src]
pub struct VideoFetcher(_);
This is supported on crate feature
blocking
only.Expand description
A synchronous wrapper around VideoFetcher
.
Implementations
This is supported on crate feature fetch
only.
This is supported on crate feature
fetch
only.Constructs a VideoFetcher
from an Url
.
Errors
- When
Id::from_raw
fails to extracted the videos id from the url. - When
reqwest
fails to initialize an newClient
.
This is supported on crate feature fetch
only.
This is supported on crate feature
fetch
only.This is supported on crate feature fetch
only.
This is supported on crate feature
fetch
only.Constructs a VideoFetcher
from an Id
and an existing Client
.
There are no special constrains, what the Client
has to look like.
This is supported on crate feature fetch
only.
This is supported on crate feature
fetch
only.A synchronous wrapper around VideoFetcher::fetch
.
Methods from Deref<Target = AsyncVideoFetcher>
This is supported on crate feature fetch
only.
This is supported on crate feature
fetch
only.The id of the video.
Trait Implementations
This is supported on crate feature
fetch
only.This is supported on crate feature
fetch
only.This is supported on crate feature
fetch
only.type Target = AsyncVideoFetcher
type Target = AsyncVideoFetcher
The resulting type after dereferencing.
This is supported on crate feature
fetch
only.This is supported on crate feature
fetch
only.This is supported on crate feature
fetch
only.This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This is supported on crate feature
fetch
only.This is supported on crate feature
fetch
only.This is supported on crate feature
fetch
only.Auto Trait Implementations
impl !RefUnwindSafe for VideoFetcher
impl Send for VideoFetcher
impl Sync for VideoFetcher
impl Unpin for VideoFetcher
impl !UnwindSafe for VideoFetcher
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more