Enum youtube_dl::model::Protocol
source · pub enum Protocol {
Show 19 variants
Http,
Https,
Rtsp,
Rtmp,
Rtmpe,
Mms,
F4M,
Ism,
M3U8,
M3U8Native,
HttpDashSegments,
Mhtml,
HttpsHttps,
HttpDashSegmentsHttps,
HttpDashSegmentsHttpDashSegments,
M3U8NativeM3U8Native,
NicoNicoDmc,
M3U8NativeHttps,
Unknown,
}
Variants§
Http
Https
Rtsp
Rtmp
Rtmpe
Mms
F4M
Ism
M3U8
M3U8Native
HttpDashSegments
Mhtml
HttpsHttps
HttpDashSegmentsHttps
HttpDashSegmentsHttpDashSegments
M3U8NativeM3U8Native
NicoNicoDmc
M3U8NativeHttps
Unknown
Fallback for cases where the library does not keep up with youtube-dl/yt-dlp
Trait Implementations§
source§impl<'de> Deserialize<'de> for Protocol
impl<'de> Deserialize<'de> for Protocol
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for Protocol
Auto Trait Implementations§
impl Freeze for Protocol
impl RefUnwindSafe for Protocol
impl Send for Protocol
impl Sync for Protocol
impl Unpin for Protocol
impl UnwindSafe for Protocol
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