#[repr(C)]pub struct ArchivedCNodeCap<O = Box<Cap>>where
CNodeSlots<O>: Archive,{
pub slots: <CNodeSlots<O> as Archive>::Archived,
}Expand description
An archived CNodeCap
Fields§
§slots: <CNodeSlots<O> as Archive>::ArchivedThe archived counterpart of CNodeCap::slots
Trait Implementations§
Source§impl<O, __C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCNodeCap<O>where
CNodeSlots<O>: Archive,
<__C as Fallible>::Error: Trace,
<CNodeSlots<O> as Archive>::Archived: CheckBytes<__C>,
impl<O, __C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCNodeCap<O>where
CNodeSlots<O>: Archive,
<__C as Fallible>::Error: Trace,
<CNodeSlots<O> as Archive>::Archived: CheckBytes<__C>,
impl<O> Portable for ArchivedCNodeCap<O>where
CNodeSlots<O>: Archive,
<CNodeSlots<O> as Archive>::Archived: Portable,
Auto Trait Implementations§
impl<O = Box<Cap>> !Freeze for ArchivedCNodeCap<O>
impl<O = Box<Cap>> !RefUnwindSafe for ArchivedCNodeCap<O>
impl<O = Box<Cap>> !Send for ArchivedCNodeCap<O>
impl<O = Box<Cap>> !Sync for ArchivedCNodeCap<O>
impl<O = Box<Cap>> !Unpin for ArchivedCNodeCap<O>
impl<O = Box<Cap>> !UnsafeUnpin for ArchivedCNodeCap<O>
impl<O = Box<Cap>> !UnwindSafe for ArchivedCNodeCap<O>
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.