pub trait DevicePortLayer: Send + Sync {
// Required method
fn decorate(
&self,
protocol: Option<Protocol>,
port: DynDevicePort,
) -> DynDevicePort;
}Expand description
Decorates controller-visible device ports at runtime.