#[repr(C)]pub struct ArchivedImageCapwhere
Vec<u8>: Archive,
Vec<(Key, EndpointDef)>: Archive,
Vec<MemoryMapping>: Archive,
Vec<ImageSlotEntry>: Archive,
Option<Key>: Archive,
Vec<Key>: Archive,{
pub code: <Vec<u8> as Archive>::Archived,
pub endpoints: <Vec<(Key, EndpointDef)> as Archive>::Archived,
pub mappings: <Vec<MemoryMapping> as Archive>::Archived,
pub pinned: <Vec<ImageSlotEntry> as Archive>::Archived,
pub initial: <Vec<ImageSlotEntry> as Archive>::Archived,
pub yield_receiver_slot: <Option<Key> as Archive>::Archived,
pub gas_slots: <Vec<Key> as Archive>::Archived,
pub quota_slots: <Vec<Key> as Archive>::Archived,
}Expand description
An archived ImageCap
Fields§
§code: <Vec<u8> as Archive>::ArchivedThe archived counterpart of ImageCap::code
endpoints: <Vec<(Key, EndpointDef)> as Archive>::ArchivedThe archived counterpart of ImageCap::endpoints
mappings: <Vec<MemoryMapping> as Archive>::ArchivedThe archived counterpart of ImageCap::mappings
pinned: <Vec<ImageSlotEntry> as Archive>::ArchivedThe archived counterpart of ImageCap::pinned
initial: <Vec<ImageSlotEntry> as Archive>::ArchivedThe archived counterpart of ImageCap::initial
yield_receiver_slot: <Option<Key> as Archive>::ArchivedThe archived counterpart of ImageCap::yield_receiver_slot
gas_slots: <Vec<Key> as Archive>::ArchivedThe archived counterpart of ImageCap::gas_slots
quota_slots: <Vec<Key> as Archive>::ArchivedThe archived counterpart of ImageCap::quota_slots
Trait Implementations§
Source§impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedImageCapwhere
Vec<u8>: Archive,
Vec<(Key, EndpointDef)>: Archive,
Vec<MemoryMapping>: Archive,
Vec<ImageSlotEntry>: Archive,
Option<Key>: Archive,
Vec<Key>: Archive,
<__C as Fallible>::Error: Trace,
<Vec<u8> as Archive>::Archived: CheckBytes<__C>,
<Vec<(Key, EndpointDef)> as Archive>::Archived: CheckBytes<__C>,
<Vec<MemoryMapping> as Archive>::Archived: CheckBytes<__C>,
<Vec<ImageSlotEntry> as Archive>::Archived: CheckBytes<__C>,
<Option<Key> as Archive>::Archived: CheckBytes<__C>,
<Vec<Key> as Archive>::Archived: CheckBytes<__C>,
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedImageCapwhere
Vec<u8>: Archive,
Vec<(Key, EndpointDef)>: Archive,
Vec<MemoryMapping>: Archive,
Vec<ImageSlotEntry>: Archive,
Option<Key>: Archive,
Vec<Key>: Archive,
<__C as Fallible>::Error: Trace,
<Vec<u8> as Archive>::Archived: CheckBytes<__C>,
<Vec<(Key, EndpointDef)> as Archive>::Archived: CheckBytes<__C>,
<Vec<MemoryMapping> as Archive>::Archived: CheckBytes<__C>,
<Vec<ImageSlotEntry> as Archive>::Archived: CheckBytes<__C>,
<Option<Key> as Archive>::Archived: CheckBytes<__C>,
<Vec<Key> as Archive>::Archived: CheckBytes<__C>,
impl Portable for ArchivedImageCapwhere
Vec<u8>: Archive,
Vec<(Key, EndpointDef)>: Archive,
Vec<MemoryMapping>: Archive,
Vec<ImageSlotEntry>: Archive,
Option<Key>: Archive,
Vec<Key>: Archive,
<Vec<u8> as Archive>::Archived: Portable,
<Vec<(Key, EndpointDef)> as Archive>::Archived: Portable,
<Vec<MemoryMapping> as Archive>::Archived: Portable,
<Vec<ImageSlotEntry> as Archive>::Archived: Portable,
<Option<Key> as Archive>::Archived: Portable,
<Vec<Key> as Archive>::Archived: Portable,
Auto Trait Implementations§
impl Freeze for ArchivedImageCap
impl RefUnwindSafe for ArchivedImageCap
impl Send for ArchivedImageCap
impl Sync for ArchivedImageCap
impl !Unpin for ArchivedImageCap
impl !UnsafeUnpin for ArchivedImageCap
impl UnwindSafe for ArchivedImageCap
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> 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.