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

Method bytes

pci/src/configuration.rs:1256–1258  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

1254
1255 impl PciCapability for TestCap {
1256 fn bytes(&self) -> &[u8] {
1257 self.as_slice()
1258 }
1259
1260 fn id(&self) -> PciCapabilityId {
1261 PciCapabilityId::VendorSpecific

Callers 1

add_capabilityMethod · 0.45

Calls 1

as_sliceMethod · 0.80

Tested by

no test coverage detected