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.

Constructs a VideoFetcher from an Url.

Errors

This is supported on crate feature fetch only.

Constructs a VideoFetcher from an Id.

Errors

When reqwest fails to initialize an new Client.

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.

A synchronous wrapper around VideoFetcher::fetch.

Methods from Deref<Target = AsyncVideoFetcher>

This is supported on crate feature fetch only.

The id of the video.

This is supported on crate feature fetch only.

The url, under witch the video can be watched.

Trait Implementations

This is supported on crate feature fetch only.

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

This is supported on crate feature fetch only.

Formats the value using the given formatter. Read more

This is supported on crate feature fetch only.

The resulting type after dereferencing.

Dereferences the value.

This is supported on crate feature fetch only.

Mutably dereferences the value.

This is supported on crate feature fetch only.

Formats the value using the given formatter. Read more

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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Compare self to key and return true if they are equal.

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.