Skip to main content

ServiceHandler

Trait ServiceHandler 

Source
pub trait ServiceHandler {
    // Required methods
    fn platform_bus(&self, server_end: ServerEnd<PlatformBus, DriverChannel>);
    fn firmware(&self, server_end: ServerEnd<Firmware, DriverChannel>);
}
Expand description

A service handler for the Service service.

Required Methods§

Source

fn platform_bus(&self, server_end: ServerEnd<PlatformBus, DriverChannel>)

Handles an attempt to connect to the platform_bus member.

Source

fn firmware(&self, server_end: ServerEnd<Firmware, DriverChannel>)

Handles an attempt to connect to the firmware member.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§