pub struct Blake3Digest512 { /* private fields */ }

Trait Implementations§

source§

impl Digest for Blake3Digest512

source§

fn new() -> Self

Create new hasher instance.
source§

fn new_with_prefix(data: impl AsRef<[u8]>) -> Self

Create new hasher instance which has processed the provided data.
source§

fn chain_update(self, data: impl AsRef<[u8]>) -> Self
where Self: Sized,

Process input data in a chained manner.
source§

fn finalize(self) -> Output<Self>

Retrieve result and consume hasher instance.
source§

fn finalize_reset(&mut self) -> Output<Self>

Retrieve result and reset hasher instance.
source§

fn output_size() -> usize

Get output size of the hasher
source§

fn digest(data: impl AsRef<[u8]>) -> Output<Self>

Compute hash of data.
source§

fn update(&mut self, data: impl AsRef<[u8]>)

Process data, updating the internal state.
source§

fn finalize_into(self, out: &mut Output<Self>)

Write result into provided array and consume the hasher instance.
source§

fn finalize_into_reset(&mut self, out: &mut Output<Self>)
where Self: FixedOutputReset,

Write result into provided array and reset the hasher instance.
source§

fn reset(&mut self)
where Self: Reset,

Reset hasher instance to its initial state.
source§

impl FixedOutput for Blake3Digest512

source§

fn finalize_into(self, out: &mut Output<Self>)

Consume value and write result into provided array.
source§

fn finalize_fixed(self) -> GenericArray<u8, Self::OutputSize>

Retrieve result and consume the hasher instance.
source§

impl FixedOutputReset for Blake3Digest512

source§

fn finalize_into_reset(&mut self, out: &mut Output<Self>)

Write result into provided array and reset the hasher state.
source§

fn finalize_fixed_reset(&mut self) -> GenericArray<u8, Self::OutputSize>

Retrieve result and reset the hasher state.
source§

impl OutputSizeUser for Blake3Digest512

§

type OutputSize = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>

Size of the output in bytes.
source§

fn output_size() -> usize

Return output size in bytes.
source§

impl Reset for Blake3Digest512

source§

fn reset(&mut self)

Reset state to its initial value.
source§

impl Update for Blake3Digest512

source§

fn update(&mut self, data: &[u8])

Update state using the provided data.
source§

fn chain(self, data: impl AsRef<[u8]>) -> Self
where Self: Sized,

Digest input data in a chained manner.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Pointable for T

source§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

source§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more