MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / context

Method context

block/src/error.rs:200–202  ·  view source on GitHub ↗

The diagnostic context, if any.

(&self)

Source from the content-addressed store, hash-verified

198
199 /// The diagnostic context, if any.
200 pub fn context(&self) -> Option<&ErrorContext> {
201 self.ctx.as_ref()
202 }
203
204 /// Access the underlying source error, if any.
205 pub fn source_ref(&self) -> Option<&(dyn StdError + Send + Sync + 'static)> {

Callers 14

vm_send_migrationMethod · 0.80
acceptMethod · 0.80
abortable_acceptMethod · 0.80
try_cloneMethod · 0.80
newMethod · 0.80
accept_connectionsMethod · 0.80
worker_receive_memoryMethod · 0.80
cleanupMethod · 0.80
worker_send_memoryMethod · 0.80
wait_for_pending_dataMethod · 0.80
send_configFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected