@@ -41,6 +41,8 @@ pub mod audio {
41
41
}
42
42
}
43
43
44
+ impl std:: error:: Error for Error { }
45
+
44
46
impl :: std:: fmt:: Display for Error {
45
47
fn fmt ( & self , f : & mut :: std:: fmt:: Formatter ) -> Result < ( ) , :: std:: fmt:: Error > {
46
48
let description = match * self {
@@ -93,6 +95,8 @@ pub mod audio_codec {
93
95
}
94
96
}
95
97
98
+ impl std:: error:: Error for Error { }
99
+
96
100
impl :: std:: fmt:: Display for Error {
97
101
fn fmt ( & self , f : & mut :: std:: fmt:: Formatter ) -> Result < ( ) , :: std:: fmt:: Error > {
98
102
let description = match * self {
@@ -139,6 +143,8 @@ pub mod audio_format {
139
143
}
140
144
}
141
145
146
+ impl std:: error:: Error for Error { }
147
+
142
148
impl :: std:: fmt:: Display for Error {
143
149
fn fmt ( & self , f : & mut :: std:: fmt:: Formatter ) -> Result < ( ) , :: std:: fmt:: Error > {
144
150
let description = match * self {
@@ -209,6 +215,8 @@ pub mod audio_unit {
209
215
}
210
216
}
211
217
218
+ impl std:: error:: Error for Error { }
219
+
212
220
impl :: std:: fmt:: Display for Error {
213
221
fn fmt ( & self , f : & mut :: std:: fmt:: Formatter ) -> Result < ( ) , :: std:: fmt:: Error > {
214
222
let description = match * self {
@@ -302,6 +310,8 @@ impl Error {
302
310
}
303
311
}
304
312
313
+ impl std:: error:: Error for Error { }
314
+
305
315
impl :: std:: fmt:: Display for Error {
306
316
fn fmt ( & self , f : & mut :: std:: fmt:: Formatter ) -> Result < ( ) , :: std:: fmt:: Error > {
307
317
match * self {
0 commit comments