pub enum AutoplugError {
UnknownSource,
NoPorts,
NoChain,
Uri(UriError),
Graph(GraphError),
Property {
element: String,
property: String,
source: PropError,
},
}Expand description
Why a params-carrying auto-plug entry point
(Registry::decodebin_with_params, Registry::build_playbin_with_params,
Registry::build_playbin_graph_with_params) failed. One type across the
three, since they share every failure but the entry-specific first step.
Variants§
UnknownSource
No source is registered under the requested name.
NoPorts
No output ports were given (a playbin needs at least one stream).
NoChain
No chain of registered elements converts the input caps to the target within the depth bound.
Uri(UriError)
The URI could not be dispatched to a source.
Graph(GraphError)
A graph link failed.
Property
A selected element rejected an AutoplugParams assignment: an
unknown property name, a type mismatch, or an out-of-range value.
Trait Implementations§
Source§impl Debug for AutoplugError
impl Debug for AutoplugError
Source§impl From<DecodebinError> for AutoplugError
impl From<DecodebinError> for AutoplugError
Source§fn from(e: DecodebinError) -> Self
fn from(e: DecodebinError) -> Self
Converts to this type from the input type.
Source§impl From<GraphError> for AutoplugError
impl From<GraphError> for AutoplugError
Source§fn from(e: GraphError) -> Self
fn from(e: GraphError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AutoplugError
impl RefUnwindSafe for AutoplugError
impl Send for AutoplugError
impl Sync for AutoplugError
impl Unpin for AutoplugError
impl UnsafeUnpin for AutoplugError
impl UnwindSafe for AutoplugError
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