pub struct HasherWriter<'a, H> { /* private fields */ }Expand description
A rkyv writer that streams serialized bytes directly into a Hasher.
Implementations§
Trait Implementations§
Source§impl<H: Hasher> Positional for HasherWriter<'_, H>
impl<H: Hasher> Positional for HasherWriter<'_, H>
Auto Trait Implementations§
impl<'a, H> Freeze for HasherWriter<'a, H>
impl<'a, H> RefUnwindSafe for HasherWriter<'a, H>where
H: RefUnwindSafe,
impl<'a, H> Send for HasherWriter<'a, H>where
H: Send,
impl<'a, H> Sync for HasherWriter<'a, H>where
H: Sync,
impl<'a, H> Unpin for HasherWriter<'a, H>
impl<'a, H> !UnwindSafe for HasherWriter<'a, H>
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn 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.
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.
§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2where
T: SharedNiching<N1, N2>,
N1: Niching<T>,
N2: Niching<T>,
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2where
T: SharedNiching<N1, N2>,
N1: Niching<T>,
N2: Niching<T>,
§impl<T> Pointee for T
impl<T> Pointee for T
§impl<T, E> WriterExt<E> for Twhere
T: Writer<E> + ?Sized,
impl<T, E> WriterExt<E> for Twhere
T: Writer<E> + ?Sized,
§fn align(&mut self, align: usize) -> Result<usize, E>
fn align(&mut self, align: usize) -> Result<usize, E>
Aligns the position of the serializer to the given alignment.
§fn align_for<T>(&mut self) -> Result<usize, E>
fn align_for<T>(&mut self) -> Result<usize, E>
Aligns the position of the serializer to be suitable to write the given
type.