Enum rustube::Error [−][src]
pub enum Error {}Show variants
BadIdFormat, VideoUnavailable(Box<PlayabilityStatus>), NoStreams, IO(Error), Request(Error), UnexpectedResponse(Cow<'static, str>), QueryDeserialization(Error), JsonDeserialization(Error), UrlParseError(ParseError), Custom(Cow<'static, str>), Fatal(String), Internal(&'static str), ChannelClosed,
Expand description
Errors that can occur during the id extraction or the video download process.
Variants
This is supported on crate feature
fetch
only.This is supported on crate feature
download
only.IO(Error)
This is supported on crate feature
fetch
only.Request(Error)
This is supported on crate feature
fetch
only.QueryDeserialization(Error)
This is supported on crate feature
fetch
only.JsonDeserialization(Error)
This is supported on crate feature
fetch
only.UrlParseError(ParseError)
Fatal(String)
Internal(&'static str)
This is supported on crate feature
callback
only.Trait Implementations
This is supported on crate feature
std
only.This is supported on crate feature
std
only.This is supported on crate feature
std
only.This is supported on crate feature
std
only.This is supported on crate feature
std
only.This is supported on crate feature
std
only.This is supported on crate feature
std
only.This is supported on crate feature
std
only.Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error