Enum microkelvin::MaybeStored
source · [−]Expand description
Wrapper around a value either in memory or in a store
Variants
Memory(&'a T)
The value is memory
Stored(&'a Stored<T, I>)
The value is in a store
Auto Trait Implementations
impl<'a, T, I> !RefUnwindSafe for MaybeStored<'a, T, I>
impl<'a, T, I> Send for MaybeStored<'a, T, I> where
I: Sync,
T: Sync,
impl<'a, T, I> Sync for MaybeStored<'a, T, I> where
I: Sync,
T: Sync,
impl<'a, T, I> Unpin for MaybeStored<'a, T, I>
impl<'a, T, I> !UnwindSafe for MaybeStored<'a, T, I>
Blanket Implementations
sourceimpl<T> ArchivePointee for T
impl<T> ArchivePointee for T
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
sourcefn 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.
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more