Trait fidl::endpoints::ServiceMarker
source · 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§
sourcetype Proxy: ServiceProxy<Service = Self>
type Proxy: ServiceProxy<Service = Self>
The type of the proxy object upon which calls are made to a remote FIDL service.
sourcetype Request: ServiceRequest<Service = Self>
type Request: ServiceRequest<Service = Self>
The request type for this particular FIDL service.
Required Associated Constants§
sourceconst SERVICE_NAME: &'static str
const SERVICE_NAME: &'static str
The name of the service. Used for service lookup and discovery.
Object Safety§
This trait is not object safe.