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

Method set_msgfd

tpm/src/socket.rs:86–88  ·  view source on GitHub ↗
(&mut self, fd: RawFd)

Source from the content-addressed store, hash-verified

84 }
85
86 pub fn set_msgfd(&mut self, fd: RawFd) {
87 self.write_msgfd = fd;
88 }
89
90 pub fn send_full(&self, buf: &[u8]) -> Result<usize> {
91 let write_fd = self.write_msgfd;

Callers 1

prepare_data_fdMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected