#[non_exhaustive]pub enum SmoothOriginError {
UnrepresentableCodec {
track: u32,
},
Codec {
track: u32,
reason: String,
},
Manifest {
reason: String,
},
}Available on crate feature
std only.Expand description
Why a SmoothOrigin cannot describe the trunk’s media.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
UnrepresentableCodec
A track’s codec has no MS-SSTR representation (HEVC, Opus, a DVB subtitle, …).
Codec
A track’s codec is representable in principle but unusable in fact (an
AAC track whose esds carries no DecoderSpecificInfo, an AVC track
whose SPS does not decode) — the packager’s own error, rendered.
Manifest
The manifest model’s writer refused the assembled document.
Trait Implementations§
Source§impl Clone for SmoothOriginError
impl Clone for SmoothOriginError
Source§impl Debug for SmoothOriginError
impl Debug for SmoothOriginError
Source§impl Display for SmoothOriginError
impl Display for SmoothOriginError
impl Eq for SmoothOriginError
Source§impl Error for SmoothOriginError
impl Error for SmoothOriginError
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()
Source§impl PartialEq for SmoothOriginError
impl PartialEq for SmoothOriginError
impl StructuralPartialEq for SmoothOriginError
Auto Trait Implementations§
impl Forget for SmoothOriginError
impl Freeze for SmoothOriginError
impl Move for SmoothOriginError
impl RefUnwindSafe for SmoothOriginError
impl Send for SmoothOriginError
impl Sync for SmoothOriginError
impl Unpin for SmoothOriginError
impl UnsafeUnpin for SmoothOriginError
impl UnwindSafe for SmoothOriginError
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