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§

source

type Proxy: ServiceProxy<Service = Self>

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

source

type Request: ServiceRequest<Service = Self>

The request type for this particular FIDL service.

Required Associated Constants§

source

const SERVICE_NAME: &'static str

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

Object Safety§

This trait is not object safe.

Implementors§