pub trait DiscoverableService {
const SERVICE_NAME: &'static str;
const MEMBER_NAMES: &'static [&'static str];
}Expand description
A discoverable 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".