mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-11-13 00:53:04 +00:00
runtime-rs: remove all remaining unsafe impl
Fixes: #6307 Signed-off-by: Tim Zhang <tim@hyper.sh>
This commit is contained in:
@@ -15,9 +15,6 @@ use tokio::{
|
||||
|
||||
use super::{ConnectConfig, Sock, Stream};
|
||||
|
||||
unsafe impl Send for HybridVsock {}
|
||||
unsafe impl Sync for HybridVsock {}
|
||||
|
||||
#[derive(Debug, PartialEq)]
|
||||
pub struct HybridVsock {
|
||||
uds: String,
|
||||
|
||||
@@ -16,9 +16,6 @@ use tokio::net::UnixStream;
|
||||
|
||||
use super::{ConnectConfig, Sock, Stream};
|
||||
|
||||
unsafe impl Send for Vsock {}
|
||||
unsafe impl Sync for Vsock {}
|
||||
|
||||
#[derive(Debug, PartialEq)]
|
||||
pub struct Vsock {
|
||||
vsock_cid: u32,
|
||||
|
||||
Reference in New Issue
Block a user