pub trait ServiceMarker: Sized + Send + Sync + 'static {
    type Proxy: ServiceProxy<Service = Self>;
    type Request: ServiceRequest<Service = Self>;

    const SERVICE_NAME: &'static str;
Expand description

A marker for a particular FIDL service.

Required Associated Types§


type Proxy: ServiceProxy<Service = Self>

The type of the proxy object upon which calls are made to a remote FIDL service.


type Request: ServiceRequest<Service = Self>

The request type for this particular FIDL service.

Required Associated Constants§


const SERVICE_NAME: &'static str

The name of the service. Used for service lookup and discovery.

Object Safety§

This trait is not object safe.