#[non_exhaustive]pub enum SmoothError {
ManifestProtected,
FragmentEncrypted,
Manifest(ManifestFault),
NoUsableStream,
Timeline {
stream: usize,
reason: String,
},
Fragment {
status: Option<u16>,
},
TrackSetup {
reason: String,
},
}Expand description
Why a crate::SmoothClient stopped for good.
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.
ManifestProtected
The manifest declares a Protection element (PlayReady/PIFF sample
encryption); decrypting it is out of scope (MS-SSTR §2.2.2.2).
FragmentEncrypted
A fragment carries PIFF/CENC sample-encryption boxes.
Manifest(ManifestFault)
The manifest could not be used and the retry budget is spent.
NoUsableStream
The manifest has no Video or Audio StreamIndex with a QualityLevel.
Timeline
A stream’s chunk timeline could not be enumerated.
Fields
Fragment
A fragment kept failing on a static presentation.
TrackSetup
A track could not be described or its init segment could not be built.
Trait Implementations§
Source§impl Clone for SmoothError
impl Clone for SmoothError
Source§impl Debug for SmoothError
impl Debug for SmoothError
Source§impl Display for SmoothError
impl Display for SmoothError
impl Eq for SmoothError
Source§impl Error for SmoothError
impl Error for SmoothError
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 SmoothError
impl PartialEq for SmoothError
impl StructuralPartialEq for SmoothError
Auto Trait Implementations§
impl Forget for SmoothError
impl Freeze for SmoothError
impl Move for SmoothError
impl RefUnwindSafe for SmoothError
impl Send for SmoothError
impl Sync for SmoothError
impl Unpin for SmoothError
impl UnsafeUnpin for SmoothError
impl UnwindSafe for SmoothError
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