mz_service::grpc

Trait ProtoServiceTypes

Source
pub trait ProtoServiceTypes:
    Debug
    + Clone
    + Send {
    type PC: Message + Clone + 'static;
    type PR: Message + Clone + Default + 'static;
    type STATS: StatsCollector<Self::PC, Self::PR> + 'static;

    const URL: &'static str;
}
Expand description

Types that we send and receive over a service endpoint.

Required Associated Constants§

Source

const URL: &'static str

Required Associated Types§

Source

type PC: Message + Clone + 'static

Source

type PR: Message + Clone + Default + 'static

Source

type STATS: StatsCollector<Self::PC, Self::PR> + '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.

Implementors§