Enum microkelvin::MaybeStored [−][src]
Expand description
Wrapper around a value either in memory or in a store
Variants
Memory(&'a T)
Tuple Fields
0: &'a T
The value is memory
Stored(&'a Stored<T, S>)
Tuple Fields
0: &'a Stored<T, S>
The value is in a store
Auto Trait Implementations
impl<'a, T, S> RefUnwindSafe for MaybeStored<'a, T, S> where
S: RefUnwindSafe,
T: RefUnwindSafe,
<S as Store>::Identifier: RefUnwindSafe,
impl<'a, T, S> Send for MaybeStored<'a, T, S> where
S: Sync,
T: Sync,
impl<'a, T, S> Sync for MaybeStored<'a, T, S> where
S: Sync,
T: Sync,
impl<'a, T, S> Unpin for MaybeStored<'a, T, S>
impl<'a, T, S> UnwindSafe for MaybeStored<'a, T, S> where
S: RefUnwindSafe,
T: RefUnwindSafe,
<S as Store>::Identifier: 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