MCPcopy Create free account
hub / github.com/RustCrypto/utils / fmt

Method fmt

block-buffer/src/read.rs:13–17  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

11
12impl<BS: BlockSizes> fmt::Debug for ReadBuffer<BS> {
13 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
14 f.debug_struct("ReadBuffer")
15 .field("remaining_data", &self.remaining())
16 .finish_non_exhaustive()
17 }
18}
19
20impl<BS: BlockSizes> Default for ReadBuffer<BS> {

Callers

nothing calls this directly

Calls 1

remainingMethod · 0.45

Tested by

no test coverage detected