pub struct DeviceResources {
pub offer_resources: OfferResources,
pub gpadl_map: GpadlMapView,
pub channel_control: ChannelControl,
pub channels: Vec<ChannelResources>,
}
Expand description
Resources used by the device to communicate with the guest.
Fields§
§offer_resources: OfferResources
Memory resources for the offer.
gpadl_map: GpadlMapView
A map providing access to GPADLs.
channel_control: ChannelControl
The control object for enabling subchannels.
channels: Vec<ChannelResources>
The resources for each channel.
Trait Implementations§
Source§impl Debug for DeviceResources
impl Debug for DeviceResources
Source§impl Default for DeviceResources
impl Default for DeviceResources
Source§fn default() -> DeviceResources
fn default() -> DeviceResources
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DeviceResources
impl !RefUnwindSafe for DeviceResources
impl Send for DeviceResources
impl Sync for DeviceResources
impl Unpin for DeviceResources
impl !UnwindSafe for DeviceResources
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more