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

Function invalid_data

crates/commitlog/src/commit.rs:398–403  ·  view source on GitHub ↗
(e: E)

Source from the content-addressed store, hash-verified

396}
397
398fn invalid_data<E>(e: E) -> io::Error
399where
400 E: Into<Box<dyn std::error::Error + Send + Sync>>,
401{
402 io::Error::new(io::ErrorKind::InvalidData, e)
403}
404
405#[cfg(test)]
406mod tests {

Callers 2

decode_internalMethod · 0.85
decode_header_errorFunction · 0.85

Calls 1

newFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…