pub struct OpenRequest {
pub open_data: OpenData,
pub interrupt: Interrupt,
pub use_confidential_ring: bool,
pub use_confidential_external_memory: bool,
pub is_external_memory_pinned: bool,
}Expand description
Information provided to devices when a channel is opened.
Fields§
§open_data: OpenDataChannel open-specific data.
interrupt: InterruptThe interrupt used to signal the guest.
use_confidential_ring: boolIndicates if the currently connected vmbus client, as well as the channel the request is for, supports the use of confidential ring buffers.
use_confidential_external_memory: boolIndicates if the currently connected vmbus client, as well as the channel the request is for, supports the use of confidential external memory.
is_external_memory_pinned: boolIndicates if the currently connected vmbus client is expected to pin any external memory used by the channel. This is only true if the vmbus client supports GPA pinning and the channel indicated it requires pinned external memory. It can only be true for paravisor channels in a VM that supports the GPA pinning hypercalls.
Implementations§
Trait Implementations§
Source§impl Clone for OpenRequest
impl Clone for OpenRequest
Source§fn clone(&self) -> OpenRequest
fn clone(&self) -> OpenRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OpenRequest
impl Debug for OpenRequest
Source§impl DefaultEncoding for OpenRequest
impl DefaultEncoding for OpenRequest
Source§impl<'encoding> StructDecodeMetadata<'encoding, Resource> for OpenRequest
impl<'encoding> StructDecodeMetadata<'encoding, Resource> for OpenRequest
Source§impl StructEncodeMetadata<Resource> for OpenRequest
impl StructEncodeMetadata<Resource> for OpenRequest
Auto Trait Implementations§
impl Freeze for OpenRequest
impl !RefUnwindSafe for OpenRequest
impl Send for OpenRequest
impl Sync for OpenRequest
impl Unpin for OpenRequest
impl UnsafeUnpin for OpenRequest
impl !UnwindSafe for OpenRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> MeshField for T
impl<T> MeshField for T
§impl<T> MeshPayload for T
impl<T> MeshPayload for T
§impl<T> SerializeMessage for Twhere
T: 'static + MeshPayload + Send,
impl<T> SerializeMessage for Twhere
T: 'static + MeshPayload + Send,
§fn compute_message_size(&mut self, sizer: MessageSizer<'_>)
fn compute_message_size(&mut self, sizer: MessageSizer<'_>)
Computes the message size, as in [
MessageEncode::compute_message_size].§fn write_message(self, writer: MessageWriter<'_, '_, Resource>)
fn write_message(self, writer: MessageWriter<'_, '_, Resource>)
Writes the message, as in [
MessageEncode::write_message].