Expand description
The crate-wide error type.
Error is the aggregate an element’s own error converts into with ?,
so that a pipeline built from unrelated elements still has one return type.
Each variant wraps a component error — thiserror enums that stay actionable
on their own, documented next to the element that produces them.
Backend variants are behind the same Cargo features as the elements that raise them, so this enum is exactly as wide as the build it belongs to.
Structs§
- Thread
Spawn Error - Failure to create one of the background threads owned by this crate.
Enums§
- Error
- Crate-wide error. Each element defines its own
{Element}Error(seeFileDemuxError,SwDecoderError,QueueError) for its own domain-specific failures; this enum just aggregates them so trait methods (Sink::consume,SourceElement::run, …) — which have to return one common error type to stay object-safe across arbitraryBox<dyn Sink>— can report any of them.?chains through automatically: an element’s own function returns its own error type, and the moment that gets used with?inside a function returning this top-levelResult, it’s converted here via#[from].