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

Method fd

block/src/fixed_vhd_disk.rs:63–65  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

61
62impl disk_file::DiskFd for FixedVhdDisk {
63 fn fd(&self) -> BorrowedDiskFd<'_> {
64 BorrowedDiskFd::new(self.inner.as_raw_fd())
65 }
66}
67
68impl disk_file::Geometry for FixedVhdDisk {}

Callers

nothing calls this directly

Calls 2

newFunction · 0.85
as_raw_fdMethod · 0.45

Tested by

no test coverage detected