Function crosvm::crosvm::sys::unix::device_helpers::create_switches_device
source · pub fn create_switches_device<T: IntoUnixStream>(
protection_type: ProtectionType,
jail_config: &Option<JailConfig>,
switches_socket: T,
idx: u32
) -> Result<VirtioDeviceStub>