pub enum PlanError {
NoOutput,
MissingInput {
node: NodeId,
input: String,
},
UnboundGroupInput {
node: NodeId,
},
ClipWithoutClip {
node: NodeId,
},
NestedTooDeep {
node: NodeId,
},
TooLarge,
}Expand description
Why a composition’s output cannot be drawn.
Variants§
NoOutput
The composition selects no output.
MissingInput
A node the output needs has an unconnected input.
Fields
UnboundGroupInput
A group input read where no group node feeds it: in a composition drawn as a clip’s composition or as a source.
ClipWithoutClip
A clip node in a composition drawn as a source, which shows no clip.
NestedTooDeep
The group or media node draws compositions nested deeper than
alpha2_model::MAX_COMPOSITION_DEPTH. Validation refuses such a
project, so only an unvalidated one reaches this.
TooLarge
The output needs more than alpha2_model::MAX_INLINED_NODES steps,
which validation refuses, or the plans of the project hold more than
MAX_PLAN_BYTES.
Trait Implementations§
impl Eq for PlanError
impl StructuralPartialEq for PlanError
Auto Trait Implementations§
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