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.