MCPcopy Create free account
hub / github.com/hashintel/hash / push_body

Method push_body

libs/error-stack/src/fmt/hook.rs:356–358  ·  view source on GitHub ↗

(&mut self, content: impl Into<String>)

Source from the content-addressed store, hash-verified

354 #[cfg_attr(doc, doc = include_str!(concat!(env!("CARGO_MANIFEST_DIR"), "/tests/snapshots/doc/fmt__diagnostics_add.snap")))]
355 /// </pre>
356 pub fn push_body(&mut self, content: impl Into<String>) {
357 self.inner_mut().extra_mut().body.push(content.into());
358 }
359
360 /// Returns if the currently requested format should render the alternate representation.
361 ///

Callers 11

locationFunction · 0.80
backtraceFunction · 0.80
span_traceFunction · 0.80
hookFunction · 0.80
hook_contextFunction · 0.80
hook_multipleFunction · 0.80
hook_decrFunction · 0.80
hook_incrFunction · 0.80
hook_alternateFunction · 0.80
hook_providerFunction · 0.80

Calls 3

extra_mutMethod · 0.80
inner_mutMethod · 0.80
pushMethod · 0.65

Tested by 7

hookFunction · 0.64
hook_contextFunction · 0.64
hook_multipleFunction · 0.64
hook_decrFunction · 0.64
hook_incrFunction · 0.64
hook_alternateFunction · 0.64
hook_providerFunction · 0.64