Struct microkelvin::ArchivedLink
source · [−]pub struct ArchivedLink<C, A, I>(_, _);
Expand description
The archived version of a link, contains an identifier and an annotation
Implementations
sourceimpl<C, A, I> ArchivedLink<C, A, I>
impl<C, A, I> ArchivedLink<C, A, I>
Trait Implementations
sourceimpl<__C: ?Sized, C, A, I> CheckBytes<__C> for ArchivedLink<C, A, I> where
Ident<C, I>: CheckBytes<__C>,
A: CheckBytes<__C>,
impl<__C: ?Sized, C, A, I> CheckBytes<__C> for ArchivedLink<C, A, I> where
Ident<C, I>: CheckBytes<__C>,
A: CheckBytes<__C>,
type Error = TupleStructCheckError
type Error = TupleStructCheckError
The error that may result from checking the type.
sourceunsafe fn check_bytes<'__bytecheck>(
value: *const Self,
context: &mut __C
) -> Result<&'__bytecheck Self, Self::Error>
unsafe fn check_bytes<'__bytecheck>(
value: *const Self,
context: &mut __C
) -> Result<&'__bytecheck Self, Self::Error>
Checks whether the given pointer points to a valid value within the given context. Read more
sourceimpl<C, A, I, D> Deserialize<Link<C, A, I>, D> for ArchivedLink<C, A, I> where
A: Clone,
I: Clone,
D: StoreProvider<I>,
impl<C, A, I, D> Deserialize<Link<C, A, I>, D> for ArchivedLink<C, A, I> where
A: Clone,
I: Clone,
D: StoreProvider<I>,
Auto Trait Implementations
impl<C, A, I> RefUnwindSafe for ArchivedLink<C, A, I> where
A: RefUnwindSafe,
C: RefUnwindSafe,
I: RefUnwindSafe,
impl<C, A, I> Send for ArchivedLink<C, A, I> where
A: Send,
C: Send,
I: Send,
impl<C, A, I> Sync for ArchivedLink<C, A, I> where
A: Sync,
C: Sync,
I: Sync,
impl<C, A, I> Unpin for ArchivedLink<C, A, I> where
A: Unpin,
C: Unpin,
I: Unpin,
impl<C, A, I> UnwindSafe for ArchivedLink<C, A, I> where
A: UnwindSafe,
C: UnwindSafe,
I: UnwindSafe,
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