pub enum PlanKind {
Direct,
Remux,
Convert,
Unsupported,
Unknown,
}Expand description
What kind of play a plan is.
Variants§
Direct
The file as it is.
Remux
Converted with the picture and sound copied: a new container, nothing encoded. A text subtitle converted (to WebVTT for HLS) or read from a bitmap one (OCR) is still a remux: the picture and sound are the file’s, and OCR takes the server little CPU. A ladder with an encoded rung is not one.
Convert
Converted with the video or audio encoded, or a subtitle burned in (which encodes the video).
Unsupported
The client cannot play this selection: see reasons.
Unknown
A plan kind this build does not know.
Trait Implementations§
impl Copy for PlanKind
impl Eq for PlanKind
impl StructuralPartialEq for PlanKind
Auto Trait Implementations§
impl Freeze for PlanKind
impl RefUnwindSafe for PlanKind
impl Send for PlanKind
impl Sync for PlanKind
impl Unpin for PlanKind
impl UnsafeUnpin for PlanKind
impl UnwindSafe for PlanKind
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