pub enum YoutubeApplicationError<RequestError, ResponseError, ChallengeError, FetchError, PublishError> {
Extraction(YoutubeError<RequestError, ResponseError, ChallengeError>),
Media(MediaDownloadError<FetchError, PublishError>),
}Expand description
Denotes failure of one Youtube-specialized media download.
Variants§
Extraction(YoutubeError<RequestError, ResponseError, ChallengeError>)
Denotes Youtube extraction failure.
Media(MediaDownloadError<FetchError, PublishError>)
Denotes failure of the shared direct-media program.
Trait Implementations§
Source§impl<RequestError: Debug, ResponseError: Debug, ChallengeError: Debug, FetchError: Debug, PublishError: Debug> Debug for YoutubeApplicationError<RequestError, ResponseError, ChallengeError, FetchError, PublishError>
impl<RequestError: Debug, ResponseError: Debug, ChallengeError: Debug, FetchError: Debug, PublishError: Debug> Debug for YoutubeApplicationError<RequestError, ResponseError, ChallengeError, FetchError, PublishError>
Source§impl<RequestError, ResponseError, ChallengeError, FetchError, PublishError> Display for YoutubeApplicationError<RequestError, ResponseError, ChallengeError, FetchError, PublishError>where
YoutubeError<RequestError, ResponseError, ChallengeError>: Display,
MediaDownloadError<FetchError, PublishError>: Display,
impl<RequestError, ResponseError, ChallengeError, FetchError, PublishError> Display for YoutubeApplicationError<RequestError, ResponseError, ChallengeError, FetchError, PublishError>where
YoutubeError<RequestError, ResponseError, ChallengeError>: Display,
MediaDownloadError<FetchError, PublishError>: Display,
Source§impl<RequestError, ResponseError, ChallengeError, FetchError, PublishError> Error for YoutubeApplicationError<RequestError, ResponseError, ChallengeError, FetchError, PublishError>
impl<RequestError, ResponseError, ChallengeError, FetchError, PublishError> Error for YoutubeApplicationError<RequestError, ResponseError, ChallengeError, FetchError, PublishError>
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl<RequestError, ResponseError, ChallengeError, FetchError, PublishError> Freeze for YoutubeApplicationError<RequestError, ResponseError, ChallengeError, FetchError, PublishError>where
YoutubeError<RequestError, ResponseError, ChallengeError>: Freeze,
MediaDownloadError<FetchError, PublishError>: Freeze,
impl<RequestError, ResponseError, ChallengeError, FetchError, PublishError> RefUnwindSafe for YoutubeApplicationError<RequestError, ResponseError, ChallengeError, FetchError, PublishError>where
YoutubeError<RequestError, ResponseError, ChallengeError>: RefUnwindSafe,
MediaDownloadError<FetchError, PublishError>: RefUnwindSafe,
impl<RequestError, ResponseError, ChallengeError, FetchError, PublishError> Send for YoutubeApplicationError<RequestError, ResponseError, ChallengeError, FetchError, PublishError>where
YoutubeError<RequestError, ResponseError, ChallengeError>: Send,
MediaDownloadError<FetchError, PublishError>: Send,
impl<RequestError, ResponseError, ChallengeError, FetchError, PublishError> Sync for YoutubeApplicationError<RequestError, ResponseError, ChallengeError, FetchError, PublishError>where
YoutubeError<RequestError, ResponseError, ChallengeError>: Sync,
MediaDownloadError<FetchError, PublishError>: Sync,
impl<RequestError, ResponseError, ChallengeError, FetchError, PublishError> Unpin for YoutubeApplicationError<RequestError, ResponseError, ChallengeError, FetchError, PublishError>where
YoutubeError<RequestError, ResponseError, ChallengeError>: Unpin,
MediaDownloadError<FetchError, PublishError>: Unpin,
impl<RequestError, ResponseError, ChallengeError, FetchError, PublishError> UnsafeUnpin for YoutubeApplicationError<RequestError, ResponseError, ChallengeError, FetchError, PublishError>where
YoutubeError<RequestError, ResponseError, ChallengeError>: UnsafeUnpin,
MediaDownloadError<FetchError, PublishError>: UnsafeUnpin,
impl<RequestError, ResponseError, ChallengeError, FetchError, PublishError> UnwindSafe for YoutubeApplicationError<RequestError, ResponseError, ChallengeError, FetchError, PublishError>where
YoutubeError<RequestError, ResponseError, ChallengeError>: UnwindSafe,
MediaDownloadError<FetchError, PublishError>: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more