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: MemoryRegionFlags
The 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> UnwindSafe for GuestBlob<'a>
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