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

Method as_register

devices/src/pvmemcontrol.rs:140–143  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

138 }
139
140 unsafe fn as_register(self) -> PvmemcontrolTransportRegister {
141 // SAFETY: We access initialized data.
142 unsafe { self.payload.register }
143 }
144}
145
146// SAFETY: Contains no references and does not have compiler-inserted padding

Callers 1

run_commandMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected