pub enum UriError {
Malformed,
UnknownScheme,
Decode(DecodebinError),
}Expand description
Why Registry::build_uridecodebin could not assemble a graph.
Variants§
Malformed
The URI did not parse as scheme://rest, or a handler could not
interpret its scheme-specific remainder (e.g. a bad host:port).
UnknownScheme
No URI handler is registered for the scheme.
Decode(DecodebinError)
The source’s caps could not be decoded to the target (wraps the
decodebin failure).
Trait Implementations§
Source§impl From<DecodebinError> for UriError
impl From<DecodebinError> for UriError
Source§fn from(e: DecodebinError) -> Self
fn from(e: DecodebinError) -> Self
Converts to this type from the input type.
Source§impl From<UriError> for PlaybinGraphError
impl From<UriError> for PlaybinGraphError
Auto Trait Implementations§
impl Freeze for UriError
impl RefUnwindSafe for UriError
impl Send for UriError
impl Sync for UriError
impl Unpin for UriError
impl UnsafeUnpin for UriError
impl UnwindSafe for UriError
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