pub fn insert(&mut self, cfg: VsockDeviceConfig) -> Result<()> {
        self.inner = Some(VsockWrapper {
            vsock: Arc::new(Mutex::new(Self::create_unixsock_vsock(cfg)?)),
        });
        Ok(())
    }
/// Inserts a Unix backend Vsock in the store.
/// If an entry already exists, it will overwrite it.
Inserts a Unix backend Vsock in the store.
If an entry already exists, it will overwrite it.
Inserts a Unix backend Vsock in the store . If an entry already exists it will overwrite it .
pub fn insert(&mut self, cfg: VsockDeviceConfig) -> Result<()> {
        self.inner = Some(VsockWrapper {
            vsock: Arc::new(Mutex::new(Self::create_unixsock_vsock(cfg)?)),
        });
        Ok(())
    }
pub fn insert ( & mut self , cfg : VsockDeviceConfig ) -> Result < ( ) > { self . inner = Some ( VsockWrapper { vsock : Arc :: new ( Mutex :: new ( Self :: create_unixsock_vsock ( cfg ) ? ) ) , } ) ; Ok ( ( ) ) }
Inserts a Unix backend Vsock in the store.
Inserts a Unix backend Vsock in the store .
&mut self
cfg
VsockDeviceConfig