[][src]Enum watchman_client::ContentSha1Hex

pub enum ContentSha1Hex {
    Hash(String),
    Error {
        error: String,
    },
}

Reports the content SHA1 hash for a file. Since computing the hash can fail, this struct can also represent the error that happened during hash computation.

Variants

Hash(String)

The 40-hex-digit SHA1 content hash of the file contents

Error

The error that occured while trying to determine the hash

Fields of Error

error: String

Trait Implementations

impl Clone for ContentSha1Hex[src]

impl Debug for ContentSha1Hex[src]

impl<'de> Deserialize<'de> for ContentSha1Hex[src]

Auto Trait Implementations

Blanket Implementations

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

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

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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]