@@ -107,8 +107,8 @@ impl From<BuildPaths> for GeneratorResult<BuildPaths> {
107
107
Self :: Ok ( val)
108
108
}
109
109
}
110
- impl < E : std:: error:: Error + Send + Sync + ' static > From < Result < BuildPaths , E > >
111
- for GeneratorResult < BuildPaths >
110
+ impl < E : Into < Box < dyn std:: error:: Error + Send + Sync + ' static > > + Send + Sync >
111
+ From < Result < BuildPaths , E > > for GeneratorResult < BuildPaths >
112
112
{
113
113
fn from ( val : Result < BuildPaths , E > ) -> Self {
114
114
match val {
@@ -123,8 +123,10 @@ impl<S: Serialize + DeserializeOwned + MakeRx> From<S> for GeneratorResult<S> {
123
123
Self :: Ok ( val)
124
124
}
125
125
}
126
- impl < S : Serialize + DeserializeOwned + MakeRx , E : std:: error:: Error + Send + Sync + ' static >
127
- From < Result < S , E > > for GeneratorResult < S >
126
+ impl <
127
+ S : Serialize + DeserializeOwned + MakeRx ,
128
+ E : Into < Box < dyn std:: error:: Error + Send + Sync + ' static > > + Send + Sync ,
129
+ > From < Result < S , E > > for GeneratorResult < S >
128
130
{
129
131
fn from ( val : Result < S , E > ) -> Self {
130
132
match val {
@@ -139,8 +141,8 @@ impl From<View<SsrNode>> for GeneratorResult<View<SsrNode>> {
139
141
Self :: Ok ( val)
140
142
}
141
143
}
142
- impl < E : std:: error:: Error + Send + Sync + ' static > From < Result < View < SsrNode > , E > >
143
- for GeneratorResult < View < SsrNode > >
144
+ impl < E : Into < Box < dyn std:: error:: Error + Send + Sync + ' static > > + Send + Sync >
145
+ From < Result < View < SsrNode > , E > > for GeneratorResult < View < SsrNode > >
144
146
{
145
147
fn from ( val : Result < View < SsrNode > , E > ) -> Self {
146
148
match val {
@@ -155,8 +157,8 @@ impl From<HeaderMap> for GeneratorResult<HeaderMap> {
155
157
Self :: Ok ( val)
156
158
}
157
159
}
158
- impl < E : std:: error:: Error + Send + Sync + ' static > From < Result < HeaderMap , E > >
159
- for GeneratorResult < HeaderMap >
160
+ impl < E : Into < Box < dyn std:: error:: Error + Send + Sync + ' static > > + Send + Sync >
161
+ From < Result < HeaderMap , E > > for GeneratorResult < HeaderMap >
160
162
{
161
163
fn from ( val : Result < HeaderMap , E > ) -> Self {
162
164
match val {
0 commit comments