pub trait Service {
type Output;
// Required method
fn connect(&mut self, channel: Channel) -> Option<Self::Output>;
}Expand description
Service connects channels to service instances.
Note that this trait is implemented by the FidlService type.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".