pub struct GuestBlob<'a> {
pub data: &'a [u8],
pub permissions: MemoryRegionFlags,
}Expand description
A GuestBlob containing data and the permissions for its use.
Fields§
§data: &'a [u8]The data contained in the blob.
permissions: MemoryRegionFlagsThe permissions for the blob in memory. By default, it’s READ
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for GuestBlob<'a>
impl<'a> RefUnwindSafe for GuestBlob<'a>
impl<'a> Send for GuestBlob<'a>
impl<'a> Sync for GuestBlob<'a>
impl<'a> Unpin for GuestBlob<'a>
impl<'a> UnsafeUnpin for GuestBlob<'a>
impl<'a> UnwindSafe for GuestBlob<'a>
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
§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> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.