#[non_exhaustive]pub enum G2gError {
CapsMismatch,
NotConfigured,
FixationFailed,
PoolExhausted,
UnsupportedDomain,
AllocationConflict,
Hardware(HardwareError),
Shutdown,
CopyBudget,
InputRefused,
ControlBinding,
Timeout,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
CapsMismatch
Phase 1: no non-empty intersection between proposed upstream caps and this element’s supported caps.
NotConfigured
Element received a DataFrame before configure_pipeline succeeded.
FixationFailed
Phase 2: caller should retry Phase 1 with the proposal returned in
ConfigureOutcome::ReFixate.
PoolExhausted
Buffer pool exhausted; transient, retry after upstream drain.
UnsupportedDomain
A MemoryDomain variant was handed to an element that cannot consume it.
AllocationConflict
Two branches of a fan-out (a tee’s diamond) proposed allocation parameters with no common memory domain, so there is no pool the shared producer can allocate that satisfies both. The negotiation fails loud rather than silently honouring one branch and copying for the other.
Hardware(HardwareError)
Backend-specific hardware or driver failure.
Shutdown
Pipeline is shutting down; element should drain and propagate Eos.
CopyBudget
A CopyPolicy enforced on the graph was
violated: the negotiated pipeline performs more memory-domain frame copies
(device<->host or cross-device transfers of a raw buffer) than the budget
allows. Raised before any frame flows, so a pipeline that must stay
zero-copy refuses to start rather than paying the copy at runtime. Inspect
copy_plan for the offending transfers.
InputRefused
A fan-in element refused an input added at runtime
(MultiInputElement::accepts_runtime_input):
it has no pad for that source, so the add fails and the run continues on
the inputs it already has.
ControlBinding
An animated property binding (M882) does not fit the element it was attached to: an unknown or non-animatable property name (raised at startup, before any frame flows), or a sampled value the element refused mid-run. The offending node and property are named on the log’s runtime category.
Timeout
No data reached an element within the time it was given: the watchdog
transform’s timeout elapsed with the stream stalled.