pub trait Discoverable {
const PROTOCOL_NAME: &'static str;
}
Expand description
A discoverable protocol.
Required Associated Constants§
Sourceconst PROTOCOL_NAME: &'static str
const PROTOCOL_NAME: &'static str
The service name to use to connect to this discoverable protocol.
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.