[][src]Struct super_analyzer_core::results::utils::FingerPrint

pub struct FingerPrint {
    md5: Digest,
    sha1: Digest,
    sha256: [u8; 32],
}

Structure to store the application fingerprint.

Fields

md5: Digest

MD5 hash.

sha1: Digest

SHA-1 hash.

sha256: [u8; 32]

SHA-256 hash.

Methods

impl FingerPrint[src]

pub fn from_package<P: AsRef<Path>>(package: P) -> Result<Self, Error>[src]

Creates a new fingerprint.

This function will read the complete file and generate its MD5, SHA-1 and SHA-256 hashes.

Trait Implementations

impl Serialize for FingerPrint[src]

Auto Trait Implementations

impl Send for FingerPrint

impl Sync for FingerPrint

impl Unpin for FingerPrint

impl UnwindSafe for FingerPrint

impl RefUnwindSafe for FingerPrint

Blanket Implementations

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

impl<T> From<T> for T[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.

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

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

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

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

type Output = T

Should always be Self