MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / context

Method context

src/storage-operators/src/oneshot_source.rs:1168–1179  ·  view source on GitHub ↗
(self, context: C)

Source from the content-addressed store, hash-verified

1166 E: Into<StorageErrorXKind>,
1167{
1168 fn context<C>(self, context: C) -> Result<T, StorageErrorX>
1169 where
1170 C: Display,
1171 {
1172 match self {
1173 Ok(val) => Ok(val),
1174 Err(kind) => Err(StorageErrorX {
1175 kind: kind.into(),
1176 context: LinkedList::from([context.to_string()]),
1177 }),
1178 }
1179 }
1180}
1181
1182impl<T> StorageErrorXContext<T> for Result<T, StorageErrorX> {

Callers 15

render_discover_objectsFunction · 0.45
render_split_workFunction · 0.45
render_fetch_workFunction · 0.45
render_decode_chunkFunction · 0.45
listMethod · 0.45
getMethod · 0.45
split_workMethod · 0.45
fetch_workMethod · 0.45
decode_chunkMethod · 0.45
listMethod · 0.45
getMethod · 0.45

Calls 2

push_backMethod · 0.80
to_stringMethod · 0.45

Tested by 1