[][src]Trait vfs_clgit::TryIntoCommitHash

pub trait TryIntoCommitHash {
    fn try_into_commit_hash(self) -> Result<Hash>;
}

Try to convert into a commit::Hash, on pain of std::io::Error. Implemented for:
&str, (&)String, &[u8], (&)Vec<u8>, (&)commit::Hash, (&)unknown::Hash

Required methods

fn try_into_commit_hash(self) -> Result<Hash>

Try to convert into a commit::Hash, on pain of std::io::Error.

Loading content...

Implementations on Foreign Types

impl<'_> TryIntoCommitHash for &'_ str[src]

impl TryIntoCommitHash for String[src]

impl<'_> TryIntoCommitHash for &'_ String[src]

impl<'_> TryIntoCommitHash for &'_ [u8][src]

impl TryIntoCommitHash for Vec<u8>[src]

impl<'_> TryIntoCommitHash for &'_ Vec<u8>[src]

impl TryIntoCommitHash for Hash[src]

impl<'_> TryIntoCommitHash for &'_ Hash[src]

impl TryIntoCommitHash for Hash[src]

impl<'_> TryIntoCommitHash for &'_ Hash[src]

Loading content...

Implementors

Loading content...