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

Method from

crates/data-structures/src/error_stream.rs:230–232  ·  view source on GitHub ↗
(error: E)

Source from the content-addressed store, hash-verified

228
229impl<E> From<E> for ErrorStream<E> {
230 fn from(error: E) -> Self {
231 Self(smallvec::smallvec![error])
232 }
233}
234
235/// A trait for converting a tuple of `Result<_, ErrorStream<_>>`s

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected