@@ -41,6 +41,8 @@ pub mod audio {
4141 }
4242 }
4343
44+ impl std:: error:: Error for Error { }
45+
4446 impl :: std:: fmt:: Display for Error {
4547 fn fmt ( & self , f : & mut :: std:: fmt:: Formatter ) -> Result < ( ) , :: std:: fmt:: Error > {
4648 let description = match * self {
@@ -93,6 +95,8 @@ pub mod audio_codec {
9395 }
9496 }
9597
98+ impl std:: error:: Error for Error { }
99+
96100 impl :: std:: fmt:: Display for Error {
97101 fn fmt ( & self , f : & mut :: std:: fmt:: Formatter ) -> Result < ( ) , :: std:: fmt:: Error > {
98102 let description = match * self {
@@ -139,6 +143,8 @@ pub mod audio_format {
139143 }
140144 }
141145
146+ impl std:: error:: Error for Error { }
147+
142148 impl :: std:: fmt:: Display for Error {
143149 fn fmt ( & self , f : & mut :: std:: fmt:: Formatter ) -> Result < ( ) , :: std:: fmt:: Error > {
144150 let description = match * self {
@@ -209,6 +215,8 @@ pub mod audio_unit {
209215 }
210216 }
211217
218+ impl std:: error:: Error for Error { }
219+
212220 impl :: std:: fmt:: Display for Error {
213221 fn fmt ( & self , f : & mut :: std:: fmt:: Formatter ) -> Result < ( ) , :: std:: fmt:: Error > {
214222 let description = match * self {
@@ -302,6 +310,8 @@ impl Error {
302310 }
303311}
304312
313+ impl std:: error:: Error for Error { }
314+
305315impl :: std:: fmt:: Display for Error {
306316 fn fmt ( & self , f : & mut :: std:: fmt:: Formatter ) -> Result < ( ) , :: std:: fmt:: Error > {
307317 match * self {
0 commit comments