Skip to main content

DevicePortLayer

Trait DevicePortLayer 

Source
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.

Required Methods§

Source

fn decorate( &self, protocol: Option<Protocol>, port: DynDevicePort, ) -> DynDevicePort

Implementors§