mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-19 07:14:22 +01:00
runtime-rs: remove all remaining unsafe impl
Fixes: #6307 Signed-off-by: Tim Zhang <tim@hyper.sh>
This commit is contained in:
@@ -17,12 +17,9 @@ pub enum Action {
|
||||
Start,
|
||||
Stop,
|
||||
Shutdown,
|
||||
Event(Arc<dyn Event>),
|
||||
Event(Arc<dyn Event + Send + Sync>),
|
||||
}
|
||||
|
||||
unsafe impl Send for Message {}
|
||||
unsafe impl Sync for Message {}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct Message {
|
||||
pub action: Action,
|
||||
|
||||
Reference in New Issue
Block a user