pub trait RubboReference {
const SERVICE_KEY: &'static str;
// Required methods
fn interface_name() -> &'static str;
fn group() -> &'static str;
fn version() -> &'static str;
fn timeout() -> Option<u64>;
fn create_stub(invoker: Arc<Box<dyn Invoker>>) -> Arc<Self>;
}Required Associated Constants§
const SERVICE_KEY: &'static str
Required Methods§
fn interface_name() -> &'static str
fn group() -> &'static str
fn version() -> &'static str
fn timeout() -> Option<u64>
fn create_stub(invoker: Arc<Box<dyn Invoker>>) -> Arc<Self>
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.