Trait mz_service::grpc::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 Types§

source

type PC: Message + Clone + 'static

source

type PR: Message + Clone + Default + 'static

source

type STATS: StatsCollector<Self::PC, Self::PR> + 'static

Required Associated Constants§

source

const URL: &'static str

Object Safety§

This trait is not object safe.

Implementors§