MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / segment_len

Method segment_len

crates/commitlog/src/stream/common.rs:62–64  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

60
61impl<T: AsyncWrite + AsyncLen + Send> AsyncLen for tokio::io::BufWriter<T> {
62 async fn segment_len(&mut self) -> io::Result<u64> {
63 self.get_mut().segment_len().await
64 }
65}
66
67impl<T: AsyncRead + AsyncLen + Send> AsyncLen for tokio::io::BufReader<T> {

Callers 2

append_all_innerMethod · 0.45
create_segmentFunction · 0.45

Calls 1

get_mutMethod · 0.45

Tested by

no test coverage detected