diff --git a/src/context.rs b/src/context.rs index 4da40f0..98c7845 100644 --- a/src/context.rs +++ b/src/context.rs @@ -48,7 +48,7 @@ pub trait Hotplug { pub type Registration = c_int; -pub trait UsbContext: Clone + Sized { +pub trait UsbContext: Clone + Sized + Send + Sync { /// Get the raw libusb_context pointer, for advanced use in unsafe code. fn as_raw(&self) -> *mut libusb_context;