Reduce the need for Send + Sync bounds on generics
This commit is contained in:
parent
4d621f355d
commit
0910760b76
17 changed files with 405 additions and 362 deletions
|
@ -19,7 +19,7 @@ pub trait Action: Any + Send + Sync {
|
|||
|
||||
impl<A> Action for A
|
||||
where
|
||||
A: for<'a> Deserialize<'a> + Any + PartialEq + Clone + Default + Send + Sync,
|
||||
A: for<'a> Deserialize<'a> + PartialEq + Any + Send + Sync + Clone + Default,
|
||||
{
|
||||
fn qualified_name() -> SharedString {
|
||||
type_name::<A>().into()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue