pub trait URIHandlerImpl: ElementImpl + ObjectSubclass{
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§
fn protocols() -> &'static [&'static str]
fn uri(&self) -> Option<String>
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.