We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 897f55e commit e2074c6Copy full SHA for e2074c6
src/stream.rs
@@ -78,6 +78,14 @@ impl Drop for OutputStream {
78
}
79
80
81
+impl fmt::Debug for OutputStream {
82
+ fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
83
+ f.debug_struct("OutputStream")
84
+ .field("config", &self.config)
85
+ .finish_non_exhaustive()
86
+ }
87
+}
88
+
89
/// Describes the output stream's configuration
90
#[derive(Copy, Clone, Debug)]
91
pub struct OutputStreamConfig {
0 commit comments