Enum microkelvin::ArchivedChild [−][src]
pub enum ArchivedChild<'a, C, A, S> where
S: Store,
C: Compound<A, S>, {
Leaf(&'a <C::Leaf as Archive>::Archived),
Link(&'a ArchivedLink<C, A, S>),
Empty,
End,
}
Expand description
The response of the child
method on a Compound
node.
Variants
Leaf(&'a <C::Leaf as Archive>::Archived)
Child is a leaf
Link(&'a ArchivedLink<C, A, S>)
Tuple Fields
0: &'a ArchivedLink<C, A, S>
Child is an annotated subtree node
Empty
Empty slot
End
No more children
Auto Trait Implementations
impl<'a, C, A, S> RefUnwindSafe for ArchivedChild<'a, C, A, S> where
A: RefUnwindSafe,
C: RefUnwindSafe,
<<C as Compound<A, S>>::Leaf as Archive>::Archived: RefUnwindSafe,
<S as Store>::Identifier: RefUnwindSafe,
impl<'a, C, A, S> Send for ArchivedChild<'a, C, A, S> where
A: Sync,
C: Sync,
<<C as Compound<A, S>>::Leaf as Archive>::Archived: Sync,
<S as Store>::Identifier: Sync,
impl<'a, C, A, S> Sync for ArchivedChild<'a, C, A, S> where
A: Sync,
C: Sync,
<<C as Compound<A, S>>::Leaf as Archive>::Archived: Sync,
<S as Store>::Identifier: Sync,
impl<'a, C, A, S> Unpin for ArchivedChild<'a, C, A, S>
impl<'a, C, A, S> UnwindSafe for ArchivedChild<'a, C, A, S> where
A: RefUnwindSafe,
C: RefUnwindSafe,
<<C as Compound<A, S>>::Leaf as Archive>::Archived: 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