pub trait RequestableInterface {
// Required methods
fn get_interface_name() -> &'static str;
fn get_interface_version() -> u32;
unsafe fn from_raw_interface(iface: SMInterface) -> Self;
}Required Methods§
fn get_interface_name() -> &'static str
fn get_interface_version() -> u32
Sourceunsafe fn from_raw_interface(iface: SMInterface) -> Self
unsafe fn from_raw_interface(iface: SMInterface) -> Self
§Safety
Only for use internally by IShareSys::request_interface, which always knows the correct type.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".