pub trait Service {
const SERVICE_NAME: &'static str;
const MEMBER_NAMES: &'static [&'static str];
}
Expand description
A FIDL service.
Required Associated Constants§
Sourceconst SERVICE_NAME: &'static str
const SERVICE_NAME: &'static str
The name of this service.
Sourceconst MEMBER_NAMES: &'static [&'static str]
const MEMBER_NAMES: &'static [&'static str]
The members of this service.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.