]> code.octet-stream.net Git - m17rt/blobdiff - m17codec2/src/error.rs
Make netclient work against mrefd
[m17rt] / m17codec2 / src / error.rs
index 7fa6583f1f3af20521d5895829a7bfcef30af7ef..b1b3e62892ef988df27ff0c9b7526c304c54f676 100644 (file)
@@ -14,7 +14,9 @@ pub enum M17Codec2Error {
     #[error("selected card '{0}' failed to list available output configs: '{1}'")]
     OutputConfigsUnavailable(String, #[source] cpal::SupportedStreamConfigsError),
 
-    #[error("selected card '{0}' did not offer a compatible output config type, either due to hardware limitations or because it is currently in use")]
+    #[error(
+        "selected card '{0}' did not offer a compatible output config type, either due to hardware limitations or because it is currently in use"
+    )]
     SupportedOutputUnavailable(String),
 
     #[error("selected card '{0}' was unable to build an output stream: '{1}'")]
@@ -26,7 +28,9 @@ pub enum M17Codec2Error {
     #[error("selected card '{0}' failed to list available input configs: '{1}'")]
     InputConfigsUnavailable(String, #[source] cpal::SupportedStreamConfigsError),
 
-    #[error("selected card '{0}' did not offer a compatible input config type, either due to hardware limitations or because it is currently in use")]
+    #[error(
+        "selected card '{0}' did not offer a compatible input config type, either due to hardware limitations or because it is currently in use"
+    )]
     SupportedInputUnavailable(String),
 
     #[error("selected card '{0}' was unable to build an input stream: '{1}'")]