Enum microkelvin::MaybeArchived [−][src]
Expand description
A wrapper around the actual type, or the archived version
Variants
Memory(&'a T)
Tuple Fields
0: &'a T
Reference to a value
Archived(&'a T::Archived)
Tuple Fields
0: &'a T::Archived
Reference to an archived value
Trait Implementations
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for MaybeArchived<'a, T> where
T: RefUnwindSafe,
<T as Archive>::Archived: RefUnwindSafe,
impl<'a, T> Unpin for MaybeArchived<'a, T>
impl<'a, T> UnwindSafe for MaybeArchived<'a, T> where
T: RefUnwindSafe,
<T as Archive>::Archived: RefUnwindSafe,
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more