#[non_exhaustive]pub enum EngineError {
Evaluate(EvalError),
Render(RenderError),
InvalidQualityProfile,
OutOfRange,
EmptyExportRange,
ExportTooLarge {
frames: u64,
maximum: u64,
},
Text(TextError),
InvalidAudioConfiguration,
InvalidNormalizationGain,
UnregisteredEffect {
effect: String,
version: u32,
},
ExportProjectChanged,
OddExportDimensions {
width: u32,
height: u32,
suggested: (u32, u32),
},
}Expand description
Failure produced by an engine runner.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Evaluate(EvalError)
Timeline evaluation failed.
Render(RenderError)
GPU rendering failed.
InvalidQualityProfile
A quality profile contains an unusable value.
OutOfRange
A frame index or scaled output size cannot be represented.
EmptyExportRange
An exporter requires a non-empty timeline interval.
ExportTooLarge
An export schedule exceeds the bounded frame budget.
Text(TextError)
A caption or a text generator could not be rasterized or uploaded.
InvalidAudioConfiguration
An audio renderer received an unsupported layout, rate, or block size.
InvalidNormalizationGain
A loudness normalization gain is not finite, or its linear factor is not a finite, positive 32-bit float.
UnregisteredEffect
The project draws an effect the renderer has not registered, or whose registration failed.
ExportProjectChanged
An export step was given another snapshot than the one its exporter was made for.
OddExportDimensions
A 4:2:0 export was asked for an output with an odd width or height.
Its chroma planes are half size, and H.264 and HEVC crop in two-pixel steps, so the bitstream cannot carry an odd size. The project canvas may be odd; making the output even is the host’s choice.
Implementations§
Trait Implementations§
Source§impl Clone for EngineError
impl Clone for EngineError
Source§impl Debug for EngineError
impl Debug for EngineError
Source§impl Display for EngineError
impl Display for EngineError
impl Eq for EngineError
Source§impl Error for EngineError
impl Error for EngineError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl From<EvalError> for EngineError
impl From<EvalError> for EngineError
Source§impl From<RenderError> for EngineError
impl From<RenderError> for EngineError
Source§fn from(error: RenderError) -> Self
fn from(error: RenderError) -> Self
Source§impl PartialEq for EngineError
impl PartialEq for EngineError
impl StructuralPartialEq for EngineError
Auto Trait Implementations§
impl Freeze for EngineError
impl RefUnwindSafe for EngineError
impl Send for EngineError
impl Sync for EngineError
impl Unpin for EngineError
impl UnsafeUnpin for EngineError
impl UnwindSafe for EngineError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.