Struct crc64fast::Digest[][src]

pub struct Digest { /* fields omitted */ }

Represents an in-progress CRC-64 computation.

Implementations

impl Digest[src]

pub fn new() -> Self[src]

Creates a new Digest.

It will perform runtime CPU feature detection to determine which algorithm to choose.

pub fn new_table() -> Self[src]

Creates a new Digest using table-based algorithm.

pub fn write(&mut self, bytes: &[u8])[src]

Writes some data into the digest.

pub fn sum64(&self) -> u64[src]

Computes the current CRC-64-ECMA value.

Trait Implementations

impl Clone for Digest[src]

impl Default for Digest[src]

Auto Trait Implementations

impl RefUnwindSafe for Digest

impl Send for Digest

impl Sync for Digest

impl Unpin for Digest

impl UnwindSafe for Digest

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.