#![forbid(unsafe_code)]
use guid::Guid;
use mesh::MeshPayload;
use net_backend_resources::mac_address::MacAddress;
use vm_resource::Resource;
use vm_resource::ResourceId;
use vm_resource::kind::NetEndpointHandleKind;
use vm_resource::kind::VmbusDeviceHandleKind;
#[derive(MeshPayload)]
pub struct NetvspHandle {
pub instance_id: Guid,
pub mac_address: MacAddress,
pub endpoint: Resource<NetEndpointHandleKind>,
pub max_queues: Option<u16>,
}
impl ResourceId<VmbusDeviceHandleKind> for NetvspHandle {
const ID: &'static str = "netvsp";
}