RubboReference

Trait RubboReference 

Source
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§

Source

const SERVICE_KEY: &'static str

Required Methods§

Source

fn interface_name() -> &'static str

Source

fn group() -> &'static str

Source

fn version() -> &'static str

Source

fn timeout() -> Option<u64>

Source

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.

Implementors§