#[non_exhaustive]pub enum PlanError {
NoSuchRepresentation,
Inherit(InheritError),
Address(AddressError),
PeriodUnresolved,
MissingAvailabilityStartTime,
}Expand description
Why a Representation could not be planned.
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.
NoSuchRepresentation
RepRef names nothing in this MPD.
Inherit(InheritError)
Segment information inheritance failed.
Address(AddressError)
Addressing failed.
PeriodUnresolved
The Period has no PeriodStart yet (Early Available Period).
MissingAvailabilityStartTime
A dynamic MPD without @availabilityStartTime.
Trait Implementations§
impl Eq for PlanError
Source§impl Error for PlanError
impl Error for PlanError
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 From<AddressError> for PlanError
impl From<AddressError> for PlanError
Source§fn from(source: AddressError) -> Self
fn from(source: AddressError) -> Self
Converts to this type from the input type.
Source§impl From<InheritError> for PlanError
impl From<InheritError> for PlanError
Source§fn from(source: InheritError) -> Self
fn from(source: InheritError) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for PlanError
Auto Trait Implementations§
impl Forget for PlanError
impl Freeze for PlanError
impl RefUnwindSafe for PlanError
impl Send for PlanError
impl Sync for PlanError
impl Unpin for PlanError
impl UnsafeUnpin for PlanError
impl UnwindSafe for PlanError
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