#[non_exhaustive]pub enum EvalError {
InvalidProject(ModelError),
UnmappableClip {
clip: ClipId,
},
IncompleteComposition {
clip: ClipId,
composition: CompositionId,
reason: PlanError,
},
IndexProjectMismatch {
index_project: ProjectId,
evaluated_project: ProjectId,
},
}Expand description
An evaluator failure.
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.
InvalidProject(ModelError)
The input project violated a model invariant.
UnmappableClip
A valid range could not be represented during integer retiming.
IncompleteComposition
A visible clip’s composition cannot draw its output (see crate::PlanError).
Fields
§
composition: CompositionIdThe composition that failed to plan.
IndexProjectMismatch
The reusable index belongs to a different project.
Trait Implementations§
impl Eq for EvalError
Source§impl Error for EvalError
impl Error for EvalError
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()
impl StructuralPartialEq for EvalError
Auto Trait Implementations§
impl Freeze for EvalError
impl RefUnwindSafe for EvalError
impl Send for EvalError
impl Sync for EvalError
impl Unpin for EvalError
impl UnsafeUnpin for EvalError
impl UnwindSafe for EvalError
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