MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / take_inject

Method take_inject

nodedb-array/src/sync/apply.rs:219–224  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

217 }
218
219 fn take_inject(&self) -> Option<ArrayError> {
220 self.reject_next_with
221 .lock()
222 .expect("invariant: MockEngine mutex is not poisoned")
223 .take()
224 }
225}
226
227#[cfg(test)]

Callers 3

apply_putMethod · 0.80
apply_deleteMethod · 0.80
apply_eraseMethod · 0.80

Calls 3

lockMethod · 0.80
takeMethod · 0.45
expectMethod · 0.45

Tested by

no test coverage detected