pub struct CapManifestEntry {
pub cap_index: u8,
pub cap_type: CapEntryType,
pub page_count: u32,
pub data_offset: u32,
pub data_len: u32,
}Expand description
A single capability entry in the manifest. DATA caps carry only
(cap_index, page_count, data_offset, data_len); v3 chain Images
will eventually express their data regions via
Image.memory_mappings directly.
Fields§
§cap_index: u8Slot in the VM’s cap table.
cap_type: CapEntryTypeCapability type.
page_count: u32Number of pages (DATA only, ignored for CODE).
data_offset: u32Offset into the blob’s data section (0 = no data).
data_len: u32Bytes of initial data (0 = zero-filled for DATA, empty for CODE).
Trait Implementations§
Source§impl Clone for CapManifestEntry
impl Clone for CapManifestEntry
Source§fn clone(&self) -> CapManifestEntry
fn clone(&self) -> CapManifestEntry
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 moreAuto Trait Implementations§
impl Freeze for CapManifestEntry
impl RefUnwindSafe for CapManifestEntry
impl Send for CapManifestEntry
impl Sync for CapManifestEntry
impl Unpin for CapManifestEntry
impl UnsafeUnpin for CapManifestEntry
impl UnwindSafe for CapManifestEntry
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
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> 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.