#[repr(u8)]pub enum ArchivedWireCapwhere
WireInstanceCap: Archive,
WireImageCap: Archive,
WireDataCap: Archive,
WireCNodeCap: Archive,
WireTypeCap: Archive,{
Instance(<WireInstanceCap as Archive>::Archived),
Image(<WireImageCap as Archive>::Archived),
Data(<WireDataCap as Archive>::Archived),
CNode(<WireCNodeCap as Archive>::Archived),
Type(<WireTypeCap as Archive>::Archived),
}Expand description
An archived WireCap
Variants§
Instance(<WireInstanceCap as Archive>::Archived)
The archived counterpart of WireCap::Instance
Tuple Fields
§
0: <WireInstanceCap as Archive>::ArchivedThe archived counterpart of WireCap::Instance::0
Image(<WireImageCap as Archive>::Archived)
The archived counterpart of WireCap::Image
Tuple Fields
§
0: <WireImageCap as Archive>::ArchivedThe archived counterpart of WireCap::Image::0
Data(<WireDataCap as Archive>::Archived)
The archived counterpart of WireCap::Data
Tuple Fields
§
0: <WireDataCap as Archive>::ArchivedThe archived counterpart of WireCap::Data::0
CNode(<WireCNodeCap as Archive>::Archived)
The archived counterpart of WireCap::CNode
Tuple Fields
§
0: <WireCNodeCap as Archive>::ArchivedThe archived counterpart of WireCap::CNode::0
Type(<WireTypeCap as Archive>::Archived)
The archived counterpart of WireCap::Type
Tuple Fields
§
0: <WireTypeCap as Archive>::ArchivedThe archived counterpart of WireCap::Type::0
Trait Implementations§
Source§impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedWireCapwhere
WireInstanceCap: Archive,
WireImageCap: Archive,
WireDataCap: Archive,
WireCNodeCap: Archive,
WireTypeCap: Archive,
<__C as Fallible>::Error: Source,
<WireInstanceCap as Archive>::Archived: CheckBytes<__C>,
<WireImageCap as Archive>::Archived: CheckBytes<__C>,
<WireDataCap as Archive>::Archived: CheckBytes<__C>,
<WireCNodeCap as Archive>::Archived: CheckBytes<__C>,
<WireTypeCap as Archive>::Archived: CheckBytes<__C>,
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedWireCapwhere
WireInstanceCap: Archive,
WireImageCap: Archive,
WireDataCap: Archive,
WireCNodeCap: Archive,
WireTypeCap: Archive,
<__C as Fallible>::Error: Source,
<WireInstanceCap as Archive>::Archived: CheckBytes<__C>,
<WireImageCap as Archive>::Archived: CheckBytes<__C>,
<WireDataCap as Archive>::Archived: CheckBytes<__C>,
<WireCNodeCap as Archive>::Archived: CheckBytes<__C>,
<WireTypeCap as Archive>::Archived: CheckBytes<__C>,
impl Portable for ArchivedWireCapwhere
WireInstanceCap: Archive,
WireImageCap: Archive,
WireDataCap: Archive,
WireCNodeCap: Archive,
WireTypeCap: Archive,
<WireInstanceCap as Archive>::Archived: Portable,
<WireImageCap as Archive>::Archived: Portable,
<WireDataCap as Archive>::Archived: Portable,
<WireCNodeCap as Archive>::Archived: Portable,
<WireTypeCap as Archive>::Archived: Portable,
Auto Trait Implementations§
impl Freeze for ArchivedWireCap
impl RefUnwindSafe for ArchivedWireCap
impl Send for ArchivedWireCap
impl Sync for ArchivedWireCap
impl !Unpin for ArchivedWireCap
impl !UnsafeUnpin for ArchivedWireCap
impl UnwindSafe for ArchivedWireCap
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.