gstreamer::subclass::prelude

Trait URIHandlerImpl

Source
pub trait URIHandlerImpl: ElementImpl + ObjectSubclass<Type: IsA<URIHandler>> {
    const URI_TYPE: URIType;

    // Required methods
    fn protocols() -> &'static [&'static str];
    fn uri(&self) -> Option<String>;
    fn set_uri(&self, uri: &str) -> Result<(), Error>;
}

Required Associated Constants§

Required Methods§

Source

fn protocols() -> &'static [&'static str]

Source

fn uri(&self) -> Option<String>

Source

fn set_uri(&self, uri: &str) -> Result<(), Error>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§