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

Method as_raw_fd

vmm/src/migration_transport.rs:138–143  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

136
137impl AsRawFd for SocketStream {
138 fn as_raw_fd(&self) -> RawFd {
139 match self {
140 SocketStream::Unix(s) => s.as_raw_fd(),
141 SocketStream::Tcp(s) => s.as_raw_fd(),
142 }
143 }
144}
145
146impl AsFd for SocketStream {

Callers 1

wait_for_readableFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected