pub trait Defaults {
const INTERFACE: &'static Option<InterfaceName<'static>>;
const DESTINATION: &'static Option<BusName<'static>>;
const PATH: &'static Option<ObjectPath<'static>>;
}
Expand description
Trait for the default associated values of a proxy.
The trait is automatically implemented by the proxy
macro on your behalf, and may be later
used to retrieve the associated constants.
Required Associated Constants§
const INTERFACE: &'static Option<InterfaceName<'static>>
const DESTINATION: &'static Option<BusName<'static>>
const PATH: &'static Option<ObjectPath<'static>>
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.