[][src]Struct bitar::HashSum

pub struct HashSum(_);

Methods

impl HashSum[src]

pub fn new() -> Self[src]

pub fn b2_digest(data: &[u8], hash_length: usize) -> Self[src]

pub fn from_vec(v: Vec<u8>) -> Self[src]

pub fn from_slice(s: &[u8]) -> Self[src]

pub fn to_vec(&self) -> Vec<u8>[src]

pub fn len(&self) -> usize[src]

pub fn is_empty(&self) -> bool[src]

Trait Implementations

impl Clone for HashSum[src]

impl Debug for HashSum[src]

impl Default for HashSum[src]

impl Display for HashSum[src]

impl Eq for HashSum[src]

impl<'_> From<&'_ [u8]> for HashSum[src]

impl From<Vec<u8>> for HashSum[src]

impl Hash for HashSum[src]

impl<'_> PartialEq<&'_ [u8]> for HashSum[src]

impl PartialEq<HashSum> for HashSum[src]

impl PartialEq<Vec<u8>> for HashSum[src]

impl StructuralEq for HashSum[src]

Auto Trait Implementations

impl RefUnwindSafe for HashSum

impl Send for HashSum

impl Sync for HashSum

impl Unpin for HashSum

impl UnwindSafe for HashSum

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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.