pub trait ServiceMarker:
Sized
+ Clone
+ 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 Constants§
Sourceconst SERVICE_NAME: &'static str
const SERVICE_NAME: &'static str
The name of the service. Used for service lookup and discovery.
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.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".