MCPcopy Create free account
hub / github.com/cosdata/cosdata / fmt

Method fmt

src/models/buffered_io.rs:29–35  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter)

Source from the content-addressed store, hash-verified

27
28impl fmt::Display for BufIoError {
29 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
30 match self {
31 Self::Io(error) => write!(f, "IO error: {}", error),
32 Self::Locking => f.write_str("Locking error"),
33 Self::InvalidCursor(cursor) => write!(f, "Invalid cursor `{}`", cursor),
34 }
35 }
36}
37
38struct BufferRegion {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected