fidl_fuchsia_net_tun

Trait ControlProxyInterface

Source
pub trait ControlProxyInterface: Send + Sync {
    // Required methods
    fn create_device(
        &self,
        config: &DeviceConfig,
        device: ServerEnd<DeviceMarker>,
    ) -> Result<(), Error>;
    fn create_pair(
        &self,
        config: &DevicePairConfig,
        device_pair: ServerEnd<DevicePairMarker>,
    ) -> Result<(), Error>;
}

Required Methods§

Source

fn create_device( &self, config: &DeviceConfig, device: ServerEnd<DeviceMarker>, ) -> Result<(), Error>

Source

fn create_pair( &self, config: &DevicePairConfig, device_pair: ServerEnd<DevicePairMarker>, ) -> Result<(), Error>

Implementors§