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

Method write_to

vm-migration/src/protocol.rs:199–202  ·  view source on GitHub ↗
(&self, fd: &mut dyn Write)

Source from the content-addressed store, hash-verified

197 }
198
199 pub fn write_to(&self, fd: &mut dyn Write) -> Result<(), MigratableError> {
200 fd.write_all(Self::as_slice(self))
201 .map_err(MigratableError::MigrateSocket)
202 }
203}
204
205#[repr(u16)]

Callers 8

vm_receive_migrationMethod · 0.45
send_memory_fdsMethod · 0.45
worker_receive_memoryMethod · 0.45
send_request_expect_okFunction · 0.45
send_configFunction · 0.45
send_stateFunction · 0.45
send_memory_rangesFunction · 0.45
ok_or_abandonMethod · 0.45

Calls 1

lengthMethod · 0.45

Tested by

no test coverage detected