MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / fmt

Method fmt

nodedb-wal/src/double_write.rs:150–157  ·  view source on GitHub ↗
(&self, f: &mut std::fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

148
149impl std::fmt::Debug for DoubleWriteBuffer {
150 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
151 f.debug_struct("DoubleWriteBuffer")
152 .field("path", &self.path)
153 .field("mode", &self.mode)
154 .field("write_pos", &self.write_pos)
155 .field("count", &self.count)
156 .finish()
157 }
158}
159
160impl DoubleWriteBuffer {

Callers

nothing calls this directly

Calls 2

fieldMethod · 0.80
finishMethod · 0.45

Tested by

no test coverage detected