Struct ipfs_embed::DocId [−]
#[repr(C)]pub struct DocId(_);
Implementations
Trait Implementations
impl AsBytes for DocId
impl AsBytes for DocIdpub fn deserialize(
&self,
deserializer: &mut __D
) -> Result<DocId, <__D as Fallible>::Error>
pub fn deserialize(
&self,
deserializer: &mut __D
) -> Result<DocId, <__D as Fallible>::Error>Deserializes using the given deserializer
impl FromBytes for DocId
impl FromBytes for DocIdpub fn only_derive_is_allowed_to_implement_this_trait() where
DocId: Sized, impl StructuralEq for DocIdimpl StructuralPartialEq for DocIdAuto Trait Implementations
impl RefUnwindSafe for DocIdimpl UnwindSafe for DocIdBlanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::MetadataConverts some archived metadata to the pointer metadata for itself.
type Archived = <T as Archive>::Archived
type Archived = <T as Archive>::ArchivedThe archived counterpart of this type. Unlike Archive, it may be unsized. Read more
type MetadataResolver = ()
type MetadataResolver = ()The resolver for the metadata of this type. Read more
pub unsafe fn resolve_metadata(
&self,
usize,
<T as ArchiveUnsized>::MetadataResolver,
*mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata
)
pub unsafe fn resolve_metadata(
&self,
usize,
<T as ArchiveUnsized>::MetadataResolver,
*mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata
)Creates the archived version of the metadata for this value at the given position and writes it to the given output. Read more
Mutably borrows from an owned value. Read more
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash, pub fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
pub fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>Deserializes using the given deserializer
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = TShould always be Self
impl<T, S> SerializeUnsized<S> for T where
T: Serialize<S>,
S: Serializer + ?Sized,
impl<T, S> SerializeUnsized<S> for T where
T: Serialize<S>,
S: Serializer + ?Sized, pub fn serialize_unsized(
&self,
serializer: &mut S
) -> Result<usize, <S as Fallible>::Error>
pub fn serialize_unsized(
&self,
serializer: &mut S
) -> Result<usize, <S as Fallible>::Error>Writes the object and returns the position of the archived type.
pub fn serialize_metadata(&self, &mut S) -> Result<(), <S as Fallible>::Error>
pub fn serialize_metadata(&self, &mut S) -> Result<(), <S as Fallible>::Error>Serializes the metadata for the given type.
pub fn vzip(self) -> V