@@ -17,33 +17,33 @@ use std::{fmt::Display, hash::Hash};
17
17
#[ derive( Clone ) ]
18
18
pub struct DoCanClient < D , C , F >
19
19
where
20
- D : CanDevice < Channel = C , Frame = F > + Clone + Send + Sync + ' static ,
21
- C : Display + Clone + Hash + Eq + Send + Sync + ' static ,
22
- F : CanFrame < Channel = C > + Clone + Display + Send + Sync + ' static ,
20
+ D : CanDevice < Channel = C , Frame = F > + Clone + ' static ,
21
+ C : Display + Clone + Hash + Eq + ' static ,
22
+ F : CanFrame < Channel = C > + Clone + Display + ' static ,
23
23
{
24
24
isotp : CanIsoTp < D , C , F > ,
25
25
context : Context ,
26
26
}
27
27
unsafe impl < D , C , F > Send for DoCanClient < D , C , F >
28
28
where
29
- D : CanDevice < Channel = C , Frame = F > + Clone + Send + Sync + ' static ,
30
- C : Display + Clone + Hash + Eq + Send + Sync + ' static ,
31
- F : CanFrame < Channel = C > + Clone + Display + Send + Sync + ' static ,
29
+ D : CanDevice < Channel = C , Frame = F > + Clone + ' static ,
30
+ C : Display + Clone + Hash + Eq + ' static ,
31
+ F : CanFrame < Channel = C > + Clone + Display + ' static ,
32
32
{
33
33
}
34
34
unsafe impl < D , C , F > Sync for DoCanClient < D , C , F >
35
35
where
36
36
D : CanDevice < Channel = C , Frame = F > + Clone + Send + ' static ,
37
- C : Display + Clone + Hash + Eq + Send + Sync + ' static ,
38
- F : CanFrame < Channel = C > + Clone + Send + Display + ' static ,
37
+ C : Display + Clone + Hash + Eq + Send + ' static ,
38
+ F : CanFrame < Channel = C > + Clone + Display + ' static ,
39
39
{
40
40
}
41
41
42
42
impl < D , C , F > DoCanClient < D , C , F >
43
43
where
44
44
D : CanDevice < Channel = C , Frame = F > + Clone + Send + ' static ,
45
45
C : Display + Clone + Hash + Eq + Send + Sync + ' static ,
46
- F : CanFrame < Channel = C > + Clone + Send + Display + ' static ,
46
+ F : CanFrame < Channel = C > + Clone + Display + ' static ,
47
47
{
48
48
pub async fn new (
49
49
device : D ,
0 commit comments