pub enum SubtitleDelivery {
Embedded,
External,
Unknown,
}Expand description
Where the client gets a subtitle from.
Variants§
Embedded
A stream inside the media file it plays.
External
A separate file the client fetches whole (P1-08). A bitmap track
planned as a text format is one the server reads as text (P2-07):
ReadSubtitle answers SubtitleNotReady until it is done.
Unknown
Trait Implementations§
Source§impl Clone for SubtitleDelivery
impl Clone for SubtitleDelivery
impl Copy for SubtitleDelivery
Source§impl Debug for SubtitleDelivery
impl Debug for SubtitleDelivery
Source§impl<'de> Deserialize<'de> for SubtitleDelivery
impl<'de> Deserialize<'de> for SubtitleDelivery
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 Eq for SubtitleDelivery
Source§impl PartialEq for SubtitleDelivery
impl PartialEq for SubtitleDelivery
Source§impl Serialize for SubtitleDelivery
impl Serialize for SubtitleDelivery
impl StructuralPartialEq for SubtitleDelivery
Auto Trait Implementations§
impl Freeze for SubtitleDelivery
impl RefUnwindSafe for SubtitleDelivery
impl Send for SubtitleDelivery
impl Sync for SubtitleDelivery
impl Unpin for SubtitleDelivery
impl UnsafeUnpin for SubtitleDelivery
impl UnwindSafe for SubtitleDelivery
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