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

Method next

devices/src/pvmemcontrol.rs:231–239  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

229 }
230
231 fn next(&self) -> Self {
232 let GuestConnection { command } = *self;
233
234 if command == u32::MAX {
235 GuestConnection::default()
236 } else {
237 GuestConnection::new(command + 1)
238 }
239 }
240}
241
242impl TryFrom<u32> for GuestConnection {

Callers 4

register_percpu_bufMethod · 0.45
test_signatureFunction · 0.45
test_kernel_cmdlineFunction · 0.45
test_initram_fsFunction · 0.45

Calls 1

newFunction · 0.85

Tested by 3

test_signatureFunction · 0.36
test_kernel_cmdlineFunction · 0.36
test_initram_fsFunction · 0.36