diff options
Diffstat (limited to 'usb_sys/src/lib.rs')
-rw-r--r-- | usb_sys/src/lib.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usb_sys/src/lib.rs b/usb_sys/src/lib.rs index fadad76..d4f2982 100644 --- a/usb_sys/src/lib.rs +++ b/usb_sys/src/lib.rs @@ -139,6 +139,10 @@ impl Default for usbdevfs_urb { } } +// The structure that embeds this should ensure that this is safe. +unsafe impl Send for usbdevfs_urb {} +unsafe impl Sync for usbdevfs_urb {} + #[repr(C)] #[derive(Copy, Clone)] pub struct usbdevfs_ioctl { |