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

Method fmt

crates/data-structures/src/error_stream.rs:193–199  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

191}
192impl<E: fmt::Display> fmt::Display for ErrorStream<E> {
193 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
194 writeln!(f, "Errors occurred:")?;
195 for error in self.iter() {
196 writeln!(f, "{error}\n")?;
197 }
198 Ok(())
199 }
200}
201
202impl<E: Ord + Eq> ErrorStream<E> {

Callers

nothing calls this directly

Calls 2

iterMethod · 0.65
OkFunction · 0.50

Tested by

no test coverage detected