mirror of
https://github.com/arnaucube/poulpy.git
synced 2026-02-10 21:26:41 +01:00
Add prepare multi thread
This commit is contained in:
@@ -28,8 +28,8 @@ pub use zn::*;
|
||||
pub use znx_base::*;
|
||||
|
||||
pub trait Data = PartialEq + Eq + Sized + Default;
|
||||
pub trait DataRef = Data + AsRef<[u8]>;
|
||||
pub trait DataMut = DataRef + AsMut<[u8]>;
|
||||
pub trait DataRef = Data + AsRef<[u8]> + Sync;
|
||||
pub trait DataMut = DataRef + AsMut<[u8]> + Send;
|
||||
|
||||
pub trait ToOwnedDeep {
|
||||
type Owned;
|
||||
|
||||
@@ -13,7 +13,7 @@ use crate::{
|
||||
};
|
||||
|
||||
#[allow(clippy::missing_safety_doc)]
|
||||
pub trait Backend: Sized {
|
||||
pub trait Backend: Sized + Sync + Send {
|
||||
type ScalarBig: Copy + Zero + Display + Debug + Pod;
|
||||
type ScalarPrep: Copy + Zero + Display + Debug + Pod;
|
||||
type Handle: 'static;
|
||||
|
||||
Reference in New Issue
Block a user