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

Class ErrorStream

crates/data-structures/src/error_stream.rs:115–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113/// This does not allocate (unless your error allocates, of course).
114#[derive(thiserror::Error, Debug, Clone, Default, PartialEq, Eq)]
115pub struct ErrorStream<E>(smallvec::SmallVec<[E; 1]>);
116
117impl<E> ErrorStream<E> {
118 /// Build an error stream from a non-empty collection.

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…