pub struct VisionHasherDigest { /* private fields */ }
Trait Implementations§
Source§impl BlockSizeUser for VisionHasherDigest
impl BlockSizeUser for VisionHasherDigest
Source§impl Clone for VisionHasherDigest
impl Clone for VisionHasherDigest
Source§fn clone(&self) -> VisionHasherDigest
fn clone(&self) -> VisionHasherDigest
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for VisionHasherDigest
impl Default for VisionHasherDigest
Source§impl FixedOutput for VisionHasherDigest
impl FixedOutput for VisionHasherDigest
Source§fn finalize_into(self, out: &mut Output<Self>)
fn finalize_into(self, out: &mut Output<Self>)
Consume value and write result into provided array.
§fn finalize_fixed(self) -> GenericArray<u8, Self::OutputSize>
fn finalize_fixed(self) -> GenericArray<u8, Self::OutputSize>
Retrieve result and consume the hasher instance.
Source§impl FixedOutputReset for VisionHasherDigest
impl FixedOutputReset for VisionHasherDigest
Source§fn finalize_into_reset(&mut self, out: &mut Output<Self>)
fn finalize_into_reset(&mut self, out: &mut Output<Self>)
Write result into provided array and reset the hasher state.
§fn finalize_fixed_reset(&mut self) -> GenericArray<u8, Self::OutputSize>
fn finalize_fixed_reset(&mut self) -> GenericArray<u8, Self::OutputSize>
Retrieve result and reset the hasher state.
Source§impl OutputSizeUser for VisionHasherDigest
impl OutputSizeUser for VisionHasherDigest
Source§impl Update for VisionHasherDigest
impl Update for VisionHasherDigest
impl HashMarker for VisionHasherDigest
Auto Trait Implementations§
impl Freeze for VisionHasherDigest
impl RefUnwindSafe for VisionHasherDigest
impl Send for VisionHasherDigest
impl Sync for VisionHasherDigest
impl Unpin for VisionHasherDigest
impl UnwindSafe for VisionHasherDigest
Blanket Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<D> Digest for Dwhere
D: FixedOutput + Default + Update + HashMarker,
impl<D> Digest for Dwhere
D: FixedOutput + Default + Update + HashMarker,
§fn new_with_prefix(data: impl AsRef<[u8]>) -> Dwhere
D: Default,
fn new_with_prefix(data: impl AsRef<[u8]>) -> Dwhere
D: Default,
Create new hasher instance which has processed the provided data.
§fn chain_update(self, data: impl AsRef<[u8]>) -> D
fn chain_update(self, data: impl AsRef<[u8]>) -> D
Process input data in a chained manner.
§fn finalize(self) -> GenericArray<u8, <D as OutputSizeUser>::OutputSize>
fn finalize(self) -> GenericArray<u8, <D as OutputSizeUser>::OutputSize>
Retrieve result and consume hasher instance.
§fn finalize_into(
self,
out: &mut GenericArray<u8, <D as OutputSizeUser>::OutputSize>,
)
fn finalize_into( self, out: &mut GenericArray<u8, <D as OutputSizeUser>::OutputSize>, )
Write result into provided array and consume the hasher instance.
§fn finalize_reset(
&mut self,
) -> GenericArray<u8, <D as OutputSizeUser>::OutputSize>where
D: FixedOutputReset,
fn finalize_reset(
&mut self,
) -> GenericArray<u8, <D as OutputSizeUser>::OutputSize>where
D: FixedOutputReset,
Retrieve result and reset hasher instance.
§fn finalize_into_reset(
&mut self,
out: &mut GenericArray<u8, <D as OutputSizeUser>::OutputSize>,
)where
D: FixedOutputReset,
fn finalize_into_reset(
&mut self,
out: &mut GenericArray<u8, <D as OutputSizeUser>::OutputSize>,
)where
D: FixedOutputReset,
Write result into provided array and reset the hasher instance.
§fn output_size() -> usize
fn output_size() -> usize
Get output size of the hasher
§impl<D> DynDigest for Dwhere
D: Update + FixedOutputReset + Reset + Clone + 'static,
impl<D> DynDigest for Dwhere
D: Update + FixedOutputReset + Reset + Clone + 'static,
§fn finalize_reset(&mut self) -> Box<[u8]>
fn finalize_reset(&mut self) -> Box<[u8]>
Retrieve result and reset hasher instance
§fn finalize_into(self, buf: &mut [u8]) -> Result<(), InvalidBufferSize>
fn finalize_into(self, buf: &mut [u8]) -> Result<(), InvalidBufferSize>
Write result into provided array and consume the hasher instance. Read more
§fn finalize_into_reset(
&mut self,
buf: &mut [u8],
) -> Result<(), InvalidBufferSize>
fn finalize_into_reset( &mut self, buf: &mut [u8], ) -> Result<(), InvalidBufferSize>
Write result into provided array and reset the hasher instance. Read more
§fn output_size(&self) -> usize
fn output_size(&self) -> usize
Get output size of the hasher
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<D> ParallelDigest for D
impl<D> ParallelDigest for D
Source§fn new_with_prefix(data: impl AsRef<[u8]>) -> D
fn new_with_prefix(data: impl AsRef<[u8]>) -> D
Create new hasher instance which has processed the provided data.
Source§fn digest(
&self,
source: impl IndexedParallelIterator- ,
out: &mut [MaybeUninit<GenericArray<u8, <<D as ParallelDigest>::Digest as OutputSizeUser>::OutputSize>>],
)where
<impl IndexedParallelIterator as ParallelIterator>::Item: Serializable,
fn digest(
&self,
source: impl IndexedParallelIterator- ,
out: &mut [MaybeUninit<GenericArray<u8, <<D as ParallelDigest>::Digest as OutputSizeUser>::OutputSize>>],
)where
<impl IndexedParallelIterator as ParallelIterator>::Item: Serializable,
where
<impl IndexedParallelIterator as ParallelIterator>::Item: Serializable,
Calculate the digest of multiple hashes where each of them is serialized into
the same number of bytes.